MoodsRepository
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- deleteMood() : mixed
- insertMood() : int
- last10mood() : mixed
- last10moodGraph() : mixed
- periodoMood() : mixed
Properties
$hydrator
private
Hydrator
$hydrator
$queryFactory
private
QueryFactory
$queryFactory
$transaction
private
Transaction
$transaction
Methods
__construct()
The constructor.
public
__construct(QueryFactory $queryFactory, Transaction $transaction, Hydrator $hydrator) : mixed
Parameters
- $queryFactory : QueryFactory
-
The query factory
- $transaction : Transaction
- $hydrator : Hydrator
deleteMood()
public
deleteMood(mixed $mood_id, mixed $user_id) : mixed
Parameters
- $mood_id : mixed
- $user_id : mixed
insertMood()
public
insertMood(int $user_id, int $mood, mixed $w_sign) : int
Parameters
- $user_id : int
- $mood : int
- $w_sign : mixed
Return values
intlast10mood()
public
last10mood(mixed $uid) : mixed
Parameters
- $uid : mixed
last10moodGraph()
public
last10moodGraph(mixed $uid) : mixed
Parameters
- $uid : mixed
periodoMood()
public
periodoMood(mixed $uid, mixed $dataA, mixed $dateB) : mixed
Parameters
- $uid : mixed
- $dataA : mixed
- $dateB : mixed