Public Member Functions | |
indexAction ($coreRoute=null) | |
defaultIndexAction () | |
noRouteAction ($coreRoute=null) | |
defaultNoRouteAction () | |
noCookiesAction () | |
defaultNoCookiesAction () |
Definition at line 35 of file IndexController.php.
defaultIndexAction | ( | ) |
Default index action (with 404 Not Found headers) Used if default page don't configure or available
Definition at line 55 of file IndexController.php.
00056 { 00057 $this->getResponse()->setHeader('HTTP/1.1','404 Not Found'); 00058 $this->getResponse()->setHeader('Status','404 File not found'); 00059 00060 $this->loadLayout(); 00061 $this->renderLayout(); 00062 }
defaultNoCookiesAction | ( | ) |
Default no cookies page action Used if no cookies page don't configure or available
Definition at line 111 of file IndexController.php.
00112 { 00113 $this->loadLayout(); 00114 $this->renderLayout(); 00115 }
defaultNoRouteAction | ( | ) |
Default no route page action Used if no route page don't configure or available
Definition at line 85 of file IndexController.php.
00086 { 00087 $this->getResponse()->setHeader('HTTP/1.1','404 Not Found'); 00088 $this->getResponse()->setHeader('Status','404 File not found'); 00089 00090 $this->loadLayout(); 00091 $this->renderLayout(); 00092 }
indexAction | ( | $ | coreRoute = null |
) |
Renders CMS Home page
string | $coreRoute |
Definition at line 42 of file IndexController.php.
00043 { 00044 $pageId = Mage::getStoreConfig(Mage_Cms_Helper_Page::XML_PATH_HOME_PAGE); 00045 if (!Mage::helper('cms/page')->renderPage($this, $pageId)) { 00046 $this->_forward('defaultIndex'); 00047 } 00048 }
noCookiesAction | ( | ) |
Render Disable cookies page
Reimplemented from Mage_Core_Controller_Varien_Action.
Definition at line 98 of file IndexController.php.
00099 { 00100 $pageId = Mage::getStoreConfig(Mage_Cms_Helper_Page::XML_PATH_NO_COOKIES_PAGE); 00101 if (!Mage::helper('cms/page')->renderPage($this, $pageId)) { 00102 $this->_forward('defaultNoCookies');; 00103 } 00104 }
noRouteAction | ( | $ | coreRoute = null |
) |
Render CMS 404 Not found page
string | $coreRoute |
Definition at line 69 of file IndexController.php.
00070 { 00071 $this->getResponse()->setHeader('HTTP/1.1','404 Not Found'); 00072 $this->getResponse()->setHeader('Status','404 File not found'); 00073 00074 $pageId = Mage::getStoreConfig(Mage_Cms_Helper_Page::XML_PATH_NO_ROUTE_PAGE); 00075 if (!Mage::helper('cms/page')->renderPage($this, $pageId)) { 00076 $this->_forward('defaultNoRoute'); 00077 } 00078 }