55 if(count($searchables) > 0 )
57 foreach($searchables as $searchable)
59 $obj =
new $searchable;
80 for($i = 0; $i < func_num_args(); $i += 2)
83 $label = func_get_arg($i + 1);
93 if (!$this->parent->params->get(
$field,
""))
95 $this->parent->params->set(
$field,
"", implode(
",", array_keys($this->options)));
98 trace(
"Options: ".$this->parent->params->get(
$field), 3);
100 return parent::renderSearchField(
$field);
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
SearchableCheckListFieldRenderer($form, $field, $label)
alias()
To modify the displayed label for a searchable class name, send parameter string in the format class_...
renderSearchField($field)