// AddressController : refacto done
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8820 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -117,6 +117,7 @@ abstract class ControllerCore
|
||||
$this->setMedia();
|
||||
$this->initHeader();
|
||||
}
|
||||
|
||||
$this->initContent();
|
||||
if ($this->displayFooter)
|
||||
$this->initFooter();
|
||||
@@ -141,12 +142,12 @@ abstract class ControllerCore
|
||||
{
|
||||
$this->template = $template;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Assign smarty variables for the page header
|
||||
*/
|
||||
abstract public function initHeader();
|
||||
|
||||
|
||||
/**
|
||||
* Assign smarty variables for the page main content
|
||||
*/
|
||||
@@ -156,7 +157,7 @@ abstract class ControllerCore
|
||||
* Assign smarty variables for the page footer
|
||||
*/
|
||||
abstract public function initFooter();
|
||||
|
||||
|
||||
/**
|
||||
* Add a new stylesheet in page header.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user