KlientNeuController
extends AbstractPageController
in package
Table of Contents
- $dbc : mixed
- __construct() : mixed
- isAllowedIv() : bool
- isAllowedIVandKV() : bool
- isAMilitaryOrAccidenCantonalProvider() : bool
- setOwnerId() : void
- getDBC() : mixed
- getTranslations() : 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
Methods
__construct()
public
__construct() : mixed
Return values
mixed —isAllowedIv()
public
isAllowedIv(int $cantonId) : bool
Parameters
- $cantonId : int
Return values
bool —isAllowedIVandKV()
public
isAllowedIVandKV(int $cantonId) : bool
Parameters
- $cantonId : int
Return values
bool —isAMilitaryOrAccidenCantonalProvider()
public
isAMilitaryOrAccidenCantonalProvider(int $cantonId) : bool
Parameters
- $cantonId : int
Return values
bool —setOwnerId()
public
setOwnerId(int $ownerId) : void
Parameters
- $ownerId : int
Return values
void —getDBC()
protected
getDBC() : mixed
Return values
mixed —getTranslations()
protected
getTranslations() : mixed
Return values
mixed —initDB()
protected
initDB() : mixed
Return values
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' ]