示例#1
0
 /**
  * (non-PHPdoc)
  * @see Zend_Form::init()
  */
 public function init()
 {
     parent::init();
     switch ($this->getAttrib('widgetType')) {
         default:
             $this->defaultParent();
             break;
     }
 }
示例#2
0
 /**
  * (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;
     }
 }
示例#3
0
 /**
  * (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;
     }
 }