// 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:
1 parent
474ef2b3d0
commit
a1a1c8340e
2 files changed
+4
-3
No files matched your search
@@ -117,6 +117,7 @@ abstract class ControllerCore
|
|||||||
$this->setMedia();
|
$this->setMedia();
|
||||||
$this->initHeader();
|
$this->initHeader();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->initContent();
|
$this->initContent();
|
||||||
if ($this->displayFooter)
|
if ($this->displayFooter)
|
||||||
$this->initFooter();
|
$this->initFooter();
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class AddressControllerCore extends FrontController
|
|||||||
* Start forms process
|
* Start forms process
|
||||||
* @see FrontController::preProcess()
|
* @see FrontController::preProcess()
|
||||||
*/
|
*/
|
||||||
public function preProcess()
|
public function postProcess()
|
||||||
{
|
{
|
||||||
if (Tools::isSubmit('submitAddress'))
|
if (Tools::isSubmit('submitAddress'))
|
||||||
$this->processSubmitAddress();
|
$this->processSubmitAddress();
|
||||||
@@ -262,9 +262,9 @@ class AddressControllerCore extends FrontController
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Assign template vars related to page content
|
* Assign template vars related to page content
|
||||||
* @see FrontController::process()
|
* @see FrontController::initContent()
|
||||||
*/
|
*/
|
||||||
public function process()
|
public function initContent()
|
||||||
{
|
{
|
||||||
/* Secure restriction for guest */
|
/* Secure restriction for guest */
|
||||||
if ($this->context->customer->is_guest)
|
if ($this->context->customer->is_guest)
|
||||||
|
|||||||
Reference in new issue
Block a user