/** * Defined by IfwPsn_Vendor_Zend_Application_Resource_Resource * * @return IfwPsn_Vendor_Zend_Navigation */ public function init() { if (!$this->_container) { $options = $this->getOptions(); if (isset($options['defaultPageType'])) { IfwPsn_Vendor_Zend_Navigation_Page::setDefaultPageType($options['defaultPageType']); } $pages = isset($options['pages']) ? $options['pages'] : array(); $this->_container = new IfwPsn_Vendor_Zend_Navigation($pages); } $this->store(); return $this->_container; }