jFormsDynamicDatasource
in package
implements
jIFormsDynamicDatasource
Base class for a datasource which is based on a class and can be used for dynamic listboxes or menulists.
Tags
Interfaces, Classes and Traits
- jIFormsDynamicDatasource
- Interface for objects which provides a source of data to fill some controls in a form, like menulist, listbox etc.
Table of Contents
- $criteriaFrom : mixed
- $groupeBy : mixed
- __construct() : mixed
- getCriteriaControls() : array<string|int, string>
- Return the list of controls name that provide criterion values.
- getData() : mixed
- getLabel() : mixed
- getLabel2() : mixed
- hasGroupedData() : mixed
- setCriteriaControls() : mixed
- set the list of controls name that provide criterion values.
- setGroupBy() : mixed
Properties
$criteriaFrom
protected
mixed
$criteriaFrom
$groupeBy
protected
mixed
$groupeBy
= ''
Methods
__construct()
public
__construct(mixed $formid) : mixed
Parameters
- $formid : 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
abstract getData(mixed $form) : mixed
Parameters
- $form : mixed
Return values
mixed —getLabel()
public
getLabel(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —getLabel2()
public
abstract 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 criterion values.
public
setCriteriaControls([mixed $criteriaFrom = null ]) : mixed
Parameters
- $criteriaFrom : mixed = null
Return values
mixed —setGroupBy()
public
setGroupBy(mixed $group) : mixed
Parameters
- $group : mixed