'y'); protected function _initElements() { parent::_initElements(); $dataObj = new App_Faq_Admin_Obj(); $this->addElement( 'select', 'categoryId', array( 'label' => 'Category', 'multiOptions' => array('' => App_Faq_Admin_Obj::NO_CATEGORY_TITLE) + $dataObj->getFaqCategory4Select() ) ); $this->addElement('text', 'question', array('label' => 'Question', 'required' => true)); $this->addElement('htmlEditor', 'answer', array('label' => 'Answer', 'required' => true)); $this->addElement('checkbox', 'show', array('label' => 'Show on user end', 'decoration' => 'simple')); return $this; } }