Mental Space

ObjectiveRepository
in package

FinalYes

Table of Contents

Properties

$queryFactory  : QueryFactory
$transaction  : Transaction

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

Methods

addObjective()

public addObjective( $data,  $uid) : StatementInterface
Parameters
$data :

array Array [nome_campo][valore]

$uid :

int User ID

Return values
StatementInterface

deleteObjective()

public deleteObjective( $id,  $uid) : StatementInterface
Parameters
$id :

int ID Obiettivo

$uid :

int ID User

Return values
StatementInterface

listObjectives()

Genera array con tutti gli obiettivi dell'utente

public listObjectives( $uid) : array<string|int, mixed>
Parameters
$uid :

int User ID

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

        
On this page

Search results