Example #1
0
 public function __construct($options = null) {
     if (array_key_exists('remove_title', $options)) {
         $this->_title = $options['remove_title'];
         unset($options['remove_title']);
     }
     if (array_key_exists('remove_description', $options)) {
         $this->_description = $options['remove_description'];
         unset($options['remove_description']);
     }
     
     parent::__construct($options);
 }
Example #2
0
    public function __construct($options = null) {
        if (is_array($options) && array_key_exists('isEditing', $options)) {
            $this->_isEditing = $options['isEditing'];
            unset($options['isEditing']);
        }
        if (is_array($options) && array_key_exists('category', $options)) {
            $this->_category = $options['category'];
            unset($options['category']);
        }

        parent::__construct($options);
    }
 public function __construct($options = null)
 {
     Engine_FOrm::enableForm($this);
     self::enableForm($this);
     parent::__construct($options);
 }
Example #4
0
 public function __construct($options = array())
 {
     Fields_Form_Standard::enableForm($this);
     parent::__construct($options);
 }