public function init() { parent::init(); /*switch ($this->getAttrib('menuType')) { default: break; }*/ }
/** * (non-PHPdoc) * @see menu_Form_Item::init() */ public function init() { parent::init(); switch ($this->getAttrib('menuType')) { case 'login': $this->login(); break; default: $this->defaultParent(); break; } }
/** * (non-PHPdoc) * @see menu_Form_Item::init() */ public function init() { /* Form Elements & Other Definitions Here ... */ parent::init(); switch ($this->getAttrib('menuType')) { case 'system-extensions': $this->systemExtensions(); break; case 'system-info': $this->systemInfo(); break; default: $this->defaultParent(); break; } }
/** * (non-PHPdoc) * @see menu_Form_Item::init() */ public function init() { /* Form Elements & Other Definitions Here ... */ parent::init(); switch ($this->getAttrib('menuType')) { case 'external-link': $this->externalLink(); break; case 'sitemap': $this->sitemap(); break; case 'separator': $this->separator(); break; default: $this->defaultParent(); break; } }
/** * (non-PHPdoc) * @see menu_Form_Item::init() */ public function init() { /* Form Elements & Other Definitions Here ... */ parent::init(); switch ($this->getAttrib('menuType')) { case 'contact-layout': $this->simpleContactLayout(); break; case 'category-layout': $this->simpleCategoryLayout(); break; case 'contacts-list-registered': case 'contact-add': case 'category-list-registered': case 'category-add': default: $this->defaultParent(); break; } }
/** * (non-PHPdoc) * @see menu_Form_Item::init() */ public function init() { /* Form Elements & Other Definitions Here ... */ parent::init(); switch ($this->getAttrib('menuType')) { case 'articles-list-registered': break; case 'article-add': break; case 'category-list-registered': break; case 'category-add': break; case 'article-simple-layout': $this->addSimpleLayout(); break; case 'category-blog-layout': $this->addCategoryBlogLayout(); break; default: $this->defaultParent(); break; } }