Jelix 1.8.14-pre

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
subpackage

forms

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

Methods

getCriteriaControls()

Return the list of controls name that provide criterion values.

public getCriteriaControls() : array<string|int, string>
Tags
Return values
array<string|int, string>

getLabel2()

public abstract getLabel2(mixed $key, mixed $form) : mixed
Parameters
$key : mixed
$form : 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

Search results