title | footer |
---|---|
\leantime\domain\repositories\clients |
false |
- Full name:
\leantime\domain\repositories\clients
__construct - get database connection
public clients::__construct(): mixed
Return Value:
getClient - get one client from db
public clients::getClient( $id): array
Parameters:
Parameter | Type | Description |
---|---|---|
id |
**** |
Return Value:
getAll - get all clients
public clients::getAll(): array
Return Value:
public clients::getNumberOfClients(): mixed
Return Value:
public clients::isClient(mixed $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
mixed |
Return Value:
public clients::getClientsUsers(mixed $clientId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
clientId |
mixed |
Return Value:
addClient - add a client and postback test
public clients::addClient(array $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
array |
Return Value:
editClient - edit a client
public clients::editClient(array $values, $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
array | |
id |
**** |
Return Value:
deleteClient - delete a client
public clients::deleteClient( $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
**** |
Return Value:
hasTickets - check if a project has Tickets
public clients::hasTickets( $id): bool
Parameters:
Parameter | Type | Description |
---|---|---|
id |
**** |
Return Value:
Automatically generated from source code comments on 2023-02-28 using phpDocumentor