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 criterion values.
- setGroupBy() : mixed
- buildLabel() : mixed
Properties
$labelMethod
public
mixed
$labelMethod
= 'get'
Tags
$criteria
protected
mixed
$criteria
Tags
$criteriaFrom
protected
mixed
$criteriaFrom
Tags
$dao
protected
mixed
$dao
Tags
$groupeBy
protected
mixed
$groupeBy
= ''
Tags
$keyProperty
protected
mixed
$keyProperty
Tags
$labelProperty
protected
mixed
$labelProperty
= array()
Tags
$labelSeparator
protected
mixed
$labelSeparator
Tags
$method
protected
mixed
$method
Tags
$profile
protected
mixed
$profile
Tags
$selector
protected
mixed
$selector
Tags
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> —getData()
public
getData(mixed $form) : mixed
Parameters
- $form : mixed
Tags
Return values
mixed —getDependentControls()
public
getDependentControls() : mixed
Tags
Return values
mixed —getLabel()
public
getLabel(mixed $key) : mixed
Parameters
- $key : mixed
Tags
Return values
mixed —getLabel2()
public
getLabel2(mixed $key, mixed $form) : mixed
Parameters
- $key : mixed
- $form : mixed
Tags
Return values
mixed —hasGroupedData()
public
hasGroupedData() : 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 —setGroupBy()
public
setGroupBy(mixed $group) : mixed
Parameters
- $group : mixed
Tags
Return values
mixed —buildLabel()
protected
buildLabel(mixed $rec) : mixed
Parameters
- $rec : mixed