public function init()
 {
     parent::init();
     $this->breadcrumbs->addStep('Account', $this->getUrl(null, 'account'));
     $this->breadcrumbs->addStep('Blog Manager', $this->getUrl(null, 'blogmanager'));
     $this->identity = Zend_Auth::getInstance()->getIdentity();
 }
 public function init()
 {
     parent::init();
     foreach ($this->getRequest()->getParams() as $k => $v) {
         if ($k != 'controller' && $k != 'action' && $k != 'module') {
             $this->searchOptions[$k] = $v;
             //echo 'key is: '.$k;
             //echo 'value is: '.$v;
             $this->view->{$k} = $v;
             //Zend_Debug::dump($v);
         }
     }
     $tag = $this->getRequest()->getParam('tag');
     if (isset($tag)) {
         if (in_array($tag, $this->productConfig['product_tag'])) {
             $this->searchCriteria = $this->productConfig['inventory_attribute_table'][$tag];
         } else {
             $this->messenger->addMessage('Wrong product categories');
             $this->_redirect('/index/error');
         }
     } else {
         $this->searchCriteria = '';
     }
     //Zend_Debug::dump($this->productConfig['searchOptions']);
 }
 public function init()
 {
     parent::init();
     //require APPLICATION_PATH .'/../library/productConfig.php';
     $this->breadcrumbs->addStep('Manage product attributes', $this->getUrl(null, 'productlisting'));
 }
 public function init()
 {
     parent::init();
     //$this->breadcrumbs->addStep('User product preview', $this->getUrl(null, 'Userproductpreview'));
     //$this->request=new stdClass();
 }
 public function init()
 {
     parent::init();
 }
 public function init()
 {
     parent::init();
     $this->adminOrders = new Zend_Session_Namespace('adminOrders');
 }
예제 #7
0
 public function init()
 {
     parent::init();
     $this->breadcrumbs->addStep('Account', $this->getUrl(null, 'account'));
 }
 public function init()
 {
     parent::init();
     $this->breadcrumbs->addStep('Orderadministration', $this->getUrl(null, 'account'));
 }
 public function init()
 {
     parent::init();
     $this->breadcrumbs->addStep('Shopping cart', $this->getUrl(null, 'index'));
 }
 public function init()
 {
     parent::init();
     $this->breadcrumbs->addStep('DancewearRialto partner product list', $this->getUrl(null, 'Productpreview'));
     //$this->request=new stdClass();
 }