예제 #1
0
파일: Remove.php 프로젝트: hoalangoc/ftf
 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);
 }
예제 #2
0
파일: Category.php 프로젝트: hoalangoc/ftf
    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);
    }
예제 #3
0
 public function __construct($options = null)
 {
     Engine_FOrm::enableForm($this);
     self::enableForm($this);
     parent::__construct($options);
 }
예제 #4
0
파일: Search.php 프로젝트: robeendey/ce
 public function __construct($options = array())
 {
     Fields_Form_Standard::enableForm($this);
     parent::__construct($options);
 }