ObjectiveRepository
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- addObjective() : StatementInterface
- deleteObjective() : StatementInterface
- listObjectives() : array<string|int, mixed>
- Genera array con tutti gli obiettivi dell'utente
- updateObjective() : mixed
Properties
$queryFactory
private
QueryFactory
$queryFactory
$transaction
private
Transaction
$transaction
Methods
__construct()
The constructor.
public
__construct(QueryFactory $queryFactory, Transaction $transaction) : mixed
Parameters
- $queryFactory : QueryFactory
-
The query factory
- $transaction : Transaction
addObjective()
public
addObjective( $data, $uid) : StatementInterface
Parameters
Return values
StatementInterfacedeleteObjective()
public
deleteObjective( $id, $uid) : StatementInterface
Parameters
Return values
StatementInterfacelistObjectives()
Genera array con tutti gli obiettivi dell'utente
public
listObjectives( $uid) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed>updateObjective()
public
updateObjective(mixed $ob_id, mixed $content, mixed $uid) : mixed
Parameters
- $ob_id : mixed
- $content : mixed
- $uid : mixed