public function __construct($caption, $name, $value = null, $yes = _YES, $no = _NO) { parent::__construct($caption, $name, $value, $yes, $no); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Radioyn', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Constructor * @param object $object reference to targetobject (@link icms_ipf_Object) * @param string $key the form name */ public function __construct($object, $key) { parent::__construct($object->vars[$key]['form_caption'], $key, $object->getVar($key, 'e')); }