Jelix 1.8.13

jFormsDaoDatasource extends jFormsDynamicDatasource
in package

A datasource which is based on a dao.

Tags
subpackage

forms

Table of Contents

$labelMethod  : mixed
$criteria  : mixed
$criteriaFrom  : mixed
$dao  : mixed
$groupeBy  : mixed
$keyProperty  : mixed
$labelProperty  : mixed
$labelSeparator  : mixed
$method  : mixed
$profile  : mixed
$selector  : mixed
__construct()  : mixed
getCriteriaControls()  : array<string|int, string>
Return the list of controls name that provide criterion values.
getData()  : mixed
getDependentControls()  : mixed
getLabel()  : mixed
getLabel2()  : mixed
hasGroupedData()  : mixed
setCriteriaControls()  : mixed
set the list of controls name that provide criterion values.
setGroupBy()  : mixed
buildLabel()  : mixed

Properties

Methods

__construct()

public __construct(mixed $selector, mixed $method, mixed $label, mixed $key[, mixed $profile = '' ][, mixed $criteria = null ][, mixed $criteriaFrom = null ][, mixed $labelSeparator = '' ]) : mixed
Parameters
$selector : mixed
$method : mixed
$label : mixed
$key : mixed
$profile : mixed = ''
$criteria : mixed = null
$criteriaFrom : mixed = null
$labelSeparator : mixed = ''
Tags
Return values
mixed

getCriteriaControls()

Return the list of controls name that provide criterion values.

public getCriteriaControls() : array<string|int, string>
Tags
Return values
array<string|int, string>

getDependentControls()

public getDependentControls() : mixed
Tags
deprecated
see
jFormsDaoDatasource::getCriteriaControls()
Return values
mixed

getLabel2()

public getLabel2(mixed $key, mixed $form) : mixed
Parameters
$key : mixed
$form : mixed
Tags
Return values
mixed

setCriteriaControls()

set the list of controls name that provide criterion values.

public setCriteriaControls([mixed $criteriaFrom = null ]) : mixed
Parameters
$criteriaFrom : mixed = null
Tags
Return values
mixed

buildLabel()

protected buildLabel(mixed $rec) : mixed
Parameters
$rec : mixed
Tags
Return values
mixed

Search results