jFormsDynamicDatasource

Implements \jIFormsDynamicDatasource

Base class for a datasource which is based on a class and can be used for dynamic listboxes or menulists

package

jelix

subpackage

forms

Methods

__construct

__construct( $formid) 

Arguments

$formid

Return the list of controls name that provide criterion values

getCriteriaControls() : array<mixed,string>

Response

array<mixed,string>

getData

getData( $form) 
abstract

Arguments

$form

getLabel

getLabel( $key) 

Arguments

$key

getLabel2

getLabel2( $key,  $form) 
abstract

Arguments

$key

$form

hasGroupedData

hasGroupedData() 

set the list of controls name that provide critrion values

setCriteriaControls(array<mixed,string> $criteriaFrom = null) 

Arguments

$criteriaFrom

array<mixed,string>

setGroupBy

setGroupBy( $group) 

Arguments

$group

Properties

criteriaFrom

criteriaFrom : 

Type(s)

groupeBy

groupeBy : 

Type(s)