jFormsDaoDatasource
extends jFormsDynamicDatasource
in package
A datasource which is based on a dao
Tags
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 critrion values
- setGroupBy() : mixed
- buildLabel() : mixed
Properties
$labelMethod
public
mixed
$labelMethod
= 'get'
$criteria
protected
mixed
$criteria
=
ull
$criteriaFrom
protected
mixed
$criteriaFrom
=
ull
$dao
protected
mixed
$dao
=
ull
$groupeBy
protected
mixed
$groupeBy
= ''
$keyProperty
protected
mixed
$keyProperty
$labelProperty
protected
mixed
$labelProperty
= array()
$labelSeparator
protected
mixed
$labelSeparator
$method
protected
mixed
$method
$profile
protected
mixed
$profile
$selector
protected
mixed
$selector
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
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 —hasGroupedData()
public
hasGroupedData() : mixed
Return values
mixed —setCriteriaControls()
set the list of controls name that provide critrion 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