/** * Constructor * * @param icms_ipf_Object $object reference to targetobject (@link icms_ipf_Object) * @param string $key name of the form section */ public function __construct($object, $key) { $control = $object->getControl($key); $this->setName($key); $this->_value = $object->vars[$key]['value']; $this->_close = isset($control['close']) ? $control['close'] : FALSE; }