/** * Constructor * @param object $object reference to targetobject (@link icms_ipf_Object) * @param string $key the form name */ public function __construct($object, $key) { $var = $object->vars[$key]; $control = $object->controls[$key]; $all = isset($control['all']) ? true : false; parent::__construct($var['form_caption'], $key, $object->getVar($key, 'e')); if ($all) { $this->addOption('all', _ALL); } }
public function __construct($caption, $name, $value = null, $size = 1) { parent::__construct($caption, $name, $value, $size); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_select_Lang', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }