本文整理汇总了PHP中FrontController::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP FrontController::__construct方法的具体用法?PHP FrontController::__construct怎么用?PHP FrontController::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FrontController
的用法示例。
在下文中一共展示了FrontController::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
$this->php_self = "policies.php";
$this->auth = false;
$this->content_only = true;
parent::__construct();
}
示例2: __construct
public function __construct()
{
$this->auth = false;
$this->php_self = 'modals.php';
$this->ssl = true;
parent::__construct();
}
示例3: __construct
public function __construct()
{
parent::__construct();
/* Disable some cache related bugs on the cart/order */
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->location_level = AgileMultipleShop::getShopByLocationLevel();
$this->id_location = AgileMultipleShop::getShopByLocationID();
$this->custom_field = AgileMultipleShop::SHOP_BY_CUSTOM_FIELD;
}
示例5: __construct
public function __construct()
{
$this->php_self = 'search.php';
parent::__construct();
$this->instantSearch = Tools::getValue('instantSearch');
$this->ajaxSearch = Tools::getValue('ajaxSearch');
}
示例6: __construct
public function __construct()
{
if (Configuration::get("PS_REWRITING_SETTINGS") == 1) {
$this->php_self = 'blog/tag/' . Tools::getValue('pltn') . '_' . Tools::getValue('plidt') . '.html';
}
parent::__construct();
}
示例7: __construct
public function __construct()
{
$this->php_self = "updatepassword.php";
$this->auth = true;
$this->content_only = false;
parent::__construct();
$this->brandNavi[] = array("name" => "Update Password", "url" => $this->php_self);
}
示例8:
function __construct()
{
parent::__construct();
$this->setWebmasterAutentication();
$this->context->smarty->assign("page_name", "Index page");
$this->context->smarty->assign("page_title", "Index page title");
$this->context->smarty->display('webmaster_access.tpl');
}
示例9: __construct
public function __construct()
{
//$this->php_self = 'modules/plblog/frontent/details.php';
if (Configuration::get("PS_REWRITING_SETTINGS") == 1) {
$this->php_self = "blog/" . Tools::getValue('plcn') . '/' . Tools::getValue('plidp') . '-' . Tools::getValue('plpn') . ".html";
}
parent::__construct();
}
示例10: __construct
public function __construct()
{
$this->auth = true;
$this->php_self = 'discount.php';
$this->authRedirection = 'discount.php';
$this->ssl = true;
parent::__construct();
}
示例11: __construct
public function __construct()
{
$this->auth = false;
$this->php_self = 'curated.php';
$this->authRedirection = 'curated.php';
$this->ssl = true;
parent::__construct();
}
示例12: __construct
public function __construct()
{
$this->klarna = new KlarnaPrestaShop();
if (!$this->klarna->active) {
exit;
}
parent::__construct();
}
示例13: __construct
public function __construct()
{
$this->auth = true;
$this->authRedirection = 'history.php';
$this->ssl = true;
parent::__construct();
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
}
示例14: __construct
public function __construct()
{
$this->auth = true;
$this->guestAllowed = true;
$this->php_self = 'address.php';
$this->authRedirection = 'addresses.php';
$this->ssl = true;
parent::__construct();
}
示例15: __construct
public function __construct()
{
//$this->php_self = 'modules/plblog/frontent/list-post.php';
if (Configuration::get("PS_REWRITING_SETTINGS") == 1) {
if (Tools::getValue('plidc')) {
$this->php_self = 'blog/' . Tools::getValue('plidc') . '_' . Tools::getValue('plcn') . '.html';
}
}
parent::__construct();
}