// Norm on controllers

This commit is contained in:
rMalie
2011-09-30 13:50:55 +00:00
parent 8d19f130d7
commit f65df2f2ae
38 changed files with 252 additions and 272 deletions
+2 -14
View File
@@ -227,9 +227,9 @@ class OrderOpcControllerCore extends ParentOrderController
/**
* Assign template vars related to page content
* @see FrontController::process()
* @see FrontController::initContent()
*/
public function process()
public function initContent()
{
// SHOPPING CART
$this->_assignSummaryInformations();
@@ -286,18 +286,6 @@ class OrderOpcControllerCore extends ParentOrderController
$this->setTemplate(_PS_THEME_DIR_.'order-opc.tpl');
}
public function displayHeader($display = true)
{
if (Tools::getValue('ajax') != 'true')
parent::displayHeader();
}
public function displayFooter($display = true)
{
if (Tools::getValue('ajax') != 'true')
parent::displayFooter();
}
protected function _getGuestInformations()
{
$customer = $this->context->customer;