Documentation

ClientController extends AbstractController
in package
implements GettableInterface

Interfaces, Classes, Traits and Enums

GettableInterface

Table of Contents

$dbc  : mixed
__construct()  : mixed
getAll()  : mixed
getById()  : mixed
getInsuranceIds()  : array<string|int, mixed>
getInsuranceNumbers()  : array<string|int, mixed>
getDBC()  : mixed
initDB()  : mixed
packObjectAsValueName()  : array<string|int, mixed>
TODO is it the right place to lay this mehtod? packObjectAsValueName use it to prepare data for select boxes

Properties

Methods

getById()

public getById(int $id) : mixed
Parameters
$id : int
Return values
mixed

getInsuranceIds()

public getInsuranceIds(int $clientId) : array<string|int, mixed>
Parameters
$clientId : int
Return values
array<string|int, mixed>

getInsuranceNumbers()

public getInsuranceNumbers(int $clientId) : array<string|int, mixed>
Parameters
$clientId : int
Return values
array<string|int, mixed>

packObjectAsValueName()

TODO is it the right place to lay this mehtod? packObjectAsValueName use it to prepare data for select boxes

protected packObjectAsValueName(object $domainObject, array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$domainObject : object
$fields : array<string|int, mixed>

[ 'value' => 'variable-displayed-as-the-option-value' 'name' => 'The variable for the option text displayed on the page' ]

Return values
array<string|int, mixed>

Search results