Public Member Functions | |
listAction () |
Definition at line 35 of file ProductController.php.
listAction | ( | ) |
Definition at line 37 of file ProductController.php.
00038 { 00039 $tagId = $this->getRequest()->getParam('tagId'); 00040 $tag = Mage::getModel('tag/tag')->load($tagId); 00041 00042 if(!$tag->getId()) { 00043 $this->_redirectReferer(); 00044 return; 00045 } 00046 Mage::register('current_tag', $tag); 00047 00048 $this->loadLayout(); 00049 $this->_initLayoutMessages('checkout/session'); 00050 $this->_initLayoutMessages('tag/session'); 00051 $this->renderLayout(); 00052 }