jFormsDaoDatasource

Extends \jFormsDynamicDatasource

A datasource which is based on a dao

package

jelix

subpackage

forms

Methods

__construct

__construct( $formid) 
inherited

Arguments

$formid

buildLabel

buildLabel( $rec) 

Arguments

$rec

Return the list of controls name that provide criterion values

getCriteriaControls() : array<mixed,string>
inherited

Response

array<mixed,string>

getData

getData( $form) 
inherited abstract

Arguments

$form

getDependentControls

getDependentControls() 
deprecated
see \getCriteriaControls

getLabel

getLabel( $key) 
inherited

Arguments

$key

getLabel2

getLabel2( $key,  $form) 
inherited abstract

Arguments

$key

$form

hasGroupedData

hasGroupedData() 
inherited

set the list of controls name that provide critrion values

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

Arguments

$criteriaFrom

array<mixed,string>

setGroupBy

setGroupBy( $group) 
inherited

Arguments

$group

Properties

selector

selector : 

Type(s)

method

method : 

Type(s)

labelProperty

labelProperty : 

Type(s)

labelSeparator

labelSeparator : 

Type(s)

labelMethod

labelMethod : 

Type(s)

keyProperty

keyProperty : 

Type(s)

profile

profile : 

Type(s)

criteria

criteria : 

Type(s)

dao

dao : 

Type(s)

criteriaFrom

criteriaFrom : 
inherited

Type(s)

groupeBy

groupeBy : 
inherited

Type(s)