Jelix 1.7.18

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 = ''
Return values
mixed

getCriteriaControls()

Return the list of controls name that provide criterion values.

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

getData()

public getData(mixed $form) : mixed
Parameters
$form : mixed
Return values
mixed

getDependentControls()

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

getLabel()

public getLabel(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

getLabel2()

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

setCriteriaControls()

set the list of controls name that provide criterion values.

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

setGroupBy()

public setGroupBy(mixed $group) : mixed
Parameters
$group : mixed
Return values
mixed

buildLabel()

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

Search results