OrganisationController
extends AbstractController
in package
implements
GettableInterface
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- getAll() : mixed
- getAllHealthInsurances() : mixed
- getAllHealthInsurancesByAlphabet() : mixed
- getAllHealthInsurancesInClient() : mixed
- getAllHealthInsurancesNotInClient() : mixed
- getAllHealthInsurancesOrderedByName() : mixed
- getAllInsurancesFromOrganisationGetByLawCodeFromHS() : mixed
- getAllMilitaryAndAccidentAndOrganisation() : mixed
- getById() : mixed
- getHealthInsurancesByOwnerId() : mixed
- getHealthInsurancesByOwnerIdNotInClient() : mixed
- getOnlyHealthInsurancesByAlphabet() : mixed
- getOnlyIVAndHealthInsurancesByAlphabet() : mixed
- getPreviousSavedInsuranceAndHealthInsurancesByLawCode() : mixed
- mayBeAnInvalidPeopleInsurance() : bool
- mayBeGetDisabledPeopleInsurancesByAlphabet() : mixed
- mayBeGetOldInsuranceLegalCategorisation() : string
- 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
$dbc
protected
mixed
$dbc
$mapper
protected
mixed
$mapper
Methods
__construct()
public
__construct() : mixed
getAll()
public
getAll() : mixed
getAllHealthInsurances()
public
getAllHealthInsurances() : mixed
getAllHealthInsurancesByAlphabet()
public
getAllHealthInsurancesByAlphabet() : mixed
getAllHealthInsurancesInClient()
public
getAllHealthInsurancesInClient() : mixed
getAllHealthInsurancesNotInClient()
public
getAllHealthInsurancesNotInClient() : mixed
getAllHealthInsurancesOrderedByName()
public
getAllHealthInsurancesOrderedByName() : mixed
getAllInsurancesFromOrganisationGetByLawCodeFromHS()
public
getAllInsurancesFromOrganisationGetByLawCodeFromHS(int $lawCode) : mixed
Parameters
- $lawCode : int
getAllMilitaryAndAccidentAndOrganisation()
public
getAllMilitaryAndAccidentAndOrganisation() : mixed
getById()
public
getById(int $id) : mixed
Parameters
- $id : int
getHealthInsurancesByOwnerId()
public
getHealthInsurancesByOwnerId(int $id) : mixed
Parameters
- $id : int
getHealthInsurancesByOwnerIdNotInClient()
public
getHealthInsurancesByOwnerIdNotInClient(int $id) : mixed
Parameters
- $id : int
getOnlyHealthInsurancesByAlphabet()
public
getOnlyHealthInsurancesByAlphabet() : mixed
getOnlyIVAndHealthInsurancesByAlphabet()
public
getOnlyIVAndHealthInsurancesByAlphabet() : mixed
getPreviousSavedInsuranceAndHealthInsurancesByLawCode()
public
getPreviousSavedInsuranceAndHealthInsurancesByLawCode(int $oldInsuranceId, int $lawCode) : mixed
Parameters
- $oldInsuranceId : int
- $lawCode : int
mayBeAnInvalidPeopleInsurance()
public
mayBeAnInvalidPeopleInsurance(int $id) : bool
Parameters
- $id : int
Return values
boolmayBeGetDisabledPeopleInsurancesByAlphabet()
public
mayBeGetDisabledPeopleInsurancesByAlphabet() : mixed
mayBeGetOldInsuranceLegalCategorisation()
public
mayBeGetOldInsuranceLegalCategorisation(int $id) : string
Parameters
- $id : int
Return values
stringgetDBC()
protected
getDBC() : mixed
initDB()
protected
initDB() : 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' ]