PharmRepository
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- addDrug() : mixed
- deleteDrug() : mixed
- listDrugs() : array<string|int, mixed>
- seaerchDrug() : array<string|int, mixed>
- userDrug() : mixed
- webSearchDrug() : array<string|int, 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
addDrug()
public
addDrug(mixed $data, mixed $uid) : mixed
Parameters
- $data : mixed
- $uid : mixed
deleteDrug()
public
deleteDrug(mixed $id, mixed $uid) : mixed
Parameters
- $id : mixed
- $uid : mixed
listDrugs()
public
listDrugs(mixed $for_select) : array<string|int, mixed>
Parameters
- $for_select : mixed
Return values
array<string|int, mixed>seaerchDrug()
public
seaerchDrug(mixed $name) : array<string|int, mixed>
Parameters
- $name : mixed
Return values
array<string|int, mixed>userDrug()
public
userDrug(mixed $uid) : mixed
Parameters
- $uid : mixed
webSearchDrug()
public
webSearchDrug(mixed $name) : array<string|int, mixed>
Parameters
- $name : mixed