Documentation

HealthInsuranceController extends AbstractHealthInsurancesOrganisationController
in package

Table of Contents

$dbc  : mixed
$mapper  : mixed
$organisationController  : mixed
__construct()  : mixed
getAll()  : mixed
getAllInsurancesForDisabled()  : mixed
getAllOrderedByName()  : mixed
getById()  : mixed
getDisabledAndHealthInsurances()  : mixed
getNotInHealthInsurance()  : mixed
getOnlyHealthInsurance()  : mixed
getOnlyMilitaryAndAccidentInsurance()  : mixed
isAllowedInvalidAndHealthInsurance()  : mixed
isAnInvalidPeopleCantonalProvider()  : bool
mayBeGetInsuranceLegalCategorisation()  : string
packAsIdNameForSelectBox()  : array<string|int, mixed>
packAsIdNameForSelectBoxWithChangeAction()  : array<string|int, mixed>
packAsIdNameForTabList()  : array<string|int, mixed>
packForSelectBoxWithChangeAction()  : array<string|int, mixed>
selectBoxArgsRouter()  : array<string|int, mixed>
fetchHealthInsuranceAlphabetically()  : array<string|int, mixed>
fetchMilitaryAndAccidentInsuranceAndOrganisation()  : mixed
fetchOnlyOrganisationHealthInsuranceAlphabetically()  : mixed
fetchOnlyOrganisationIVHealthInsuranceAlphabetically()  : mixed
fetchOrganisationHealthInsuraceAlphabetically()  : array<string|int, mixed>
fetchOrganisationHealthInsurance()  : array<string|int, mixed>
fetchOrganisationHealthInsuranceByOwnerId()  : mixed
fetchOrganisationHealthInsuranceByOwnerIdNotInClient()  : mixed
fetchOrganisationHealthInsuranceInClient()  : mixed
fetchOrganisationHealthInsuranceNotInClient()  : mixed
getDBC()  : mixed
initDB()  : mixed
mapLegalCategorisationToCantonalProvider()  : array<string|int, mixed>
mayBeFetchOnlyDisabledPeopleInsuranceAlphabetically()  : mixed
nameFormatter()  : mixed
packAsIdName()  : array<string|int, mixed>
packHealthInsuranceAsIdName()  : 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
packOrganisationAsIdName()  : mixed

Properties

Methods

isAllowedInvalidAndHealthInsurance()

public isAllowedInvalidAndHealthInsurance(int $userId, int $clientId) : mixed
Parameters
$userId : int
$clientId : int
Return values
mixed

isAnInvalidPeopleCantonalProvider()

public isAnInvalidPeopleCantonalProvider(int $cantonId) : bool
Parameters
$cantonId : int
Return values
bool

mayBeGetInsuranceLegalCategorisation()

public mayBeGetInsuranceLegalCategorisation(int $insuranceId) : string
Parameters
$insuranceId : int
Return values
string

packAsIdNameForSelectBox()

public packAsIdNameForSelectBox(int $selected) : array<string|int, mixed>
Parameters
$selected : int
Tags
access

public

uses
Return values
array<string|int, mixed>

packAsIdNameForSelectBoxWithChangeAction()

public packAsIdNameForSelectBoxWithChangeAction(int $selected, string $command) : array<string|int, mixed>
Parameters
$selected : int
$command : string
Tags
uses
Return values
array<string|int, mixed>

packAsIdNameForTabList()

public packAsIdNameForTabList(bool $isSpitex, int|null $ownerId) : array<string|int, mixed>
Parameters
$isSpitex : bool
$ownerId : int|null
Tags
access

public

uses

~/aufgaben/show_vers.php

Return values
array<string|int, mixed>

packForSelectBoxWithChangeAction()

public packForSelectBoxWithChangeAction(string $dataType, string $command, int $selected, array<string|int, mixed> $optionValues) : array<string|int, mixed>
Parameters
$dataType : string
$command : string
$selected : int
$optionValues : array<string|int, mixed>
Return values
array<string|int, mixed>

[~/person/klient_neu/neu_vers.php,~/person/neu_vers.php , .../schritt_3.php]

fetchHealthInsuranceAlphabetically()

protected fetchHealthInsuranceAlphabetically() : array<string|int, mixed>
Return values
array<string|int, mixed>

mapLegalCategorisationToCantonalProvider()

protected mapLegalCategorisationToCantonalProvider(Canton $canton) : array<string|int, mixed>
Parameters
$canton : Canton
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