AbstractController
in package
AbstractYes
Table of Contents
Properties
- $dbc : mixed
Methods
- __construct() : 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
$dbc
protected
mixed
$dbc
Methods
__construct()
public
__construct() : mixed
getDBC()
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' ]