/** * (non-PHPdoc) * @see Zend_Form::init() */ public function init() { parent::init(); switch ($this->getAttrib('widgetType')) { default: $this->defaultParent(); break; } }
/** * (non-PHPdoc) * @see System_Form_Widget::init() */ public function init() { /* Form Elements & Other Definitions Here ... */ parent::init(); switch ($this->getAttrib('widgetType')) { case 'login': $this->login(); break; default: $this->defaultParent(); break; } }
/** * (non-PHPdoc) * @see System_Form_Widget::init() */ public function init() { parent::init(); switch ($this->getAttrib('widgetType')) { case 'menu': $this->menu(); break; case 'breadcrumb': $this->breadcrumb(); break; case 'menubootstrap': $this->menubootstrap(); break; default: $this->defaultWidget(); break; } }