string _listbox(
[array
$config = array()])
|
|
Generates an HTML optionlist based on the distinct data from a model column.
The column used will be defined by the name -> value => column options in cascading order.
If no 'model' name is specified the model identifier will be created using the helper identifier. The model name will be the pluralised package name.
If no 'value' option is specified the 'name' option will be used instead. If no 'text' option is specified the 'value' option will be used instead.
Tags:
Parameters:
string _render(
[array
$config = array()])
|
|
Generates an HTML optionlist based on the distinct data from a model column.
The column used will be defined by the name -> value => column options in cascading order.
If no 'model' name is specified the model identifier will be created using the helper identifier. The model name will be the pluralised package name.
If no 'value' option is specified the 'name' option will be used instead. If no 'text' option is specified the 'value' option will be used instead.
Tags:
Parameters:
mixed __call(
string
$method, array
$arguments)
|
|
Search the mixin method map and call the method or trigger an error
This function check to see if the method exists in the mixing map if not it will call the 'listbox' function. The method name will become the 'name' in the config array.
This can be used to auto-magically create select filters based on the function name.
Tags:
Overrides
KObject::__call() (Search the mixin method map and call the method or trigger an error)
Parameters: