当前位置: 首页>>代码示例>>PHP>>正文


PHP FrontController::__construct方法代码示例

本文整理汇总了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();
 }
开发者ID:khuyennd,项目名称:dev-tasagent,代码行数:7,代码来源:PoliciesController.php

示例2: __construct

 public function __construct()
 {
     $this->auth = false;
     $this->php_self = 'modals.php';
     $this->ssl = true;
     parent::__construct();
 }
开发者ID:priyankajsr19,项目名称:indusdiva2,代码行数:7,代码来源:ModalController.php

示例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');
 }
开发者ID:greench,项目名称:prestashop,代码行数:7,代码来源:ParentOrderController.php

示例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;
 }
开发者ID:evilscripts,项目名称:gy,代码行数:7,代码来源:SellerLocationController.php

示例5: __construct

 public function __construct()
 {
     $this->php_self = 'search.php';
     parent::__construct();
     $this->instantSearch = Tools::getValue('instantSearch');
     $this->ajaxSearch = Tools::getValue('ajaxSearch');
 }
开发者ID:hecbuma,项目名称:quali-fisioterapia,代码行数:7,代码来源:SearchController.php

示例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();
 }
开发者ID:nicolasjeol,项目名称:hec-ecommerce,代码行数:7,代码来源:BlogTagsController.php

示例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);
 }
开发者ID:khuyennd,项目名称:dev-tasagent,代码行数:8,代码来源:UpdatePasswordController.php

示例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');
 }
开发者ID:ecuation,项目名称:Control-de-stock,代码行数:8,代码来源:Webmaster_accessController.php

示例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();
 }
开发者ID:nicolasjeol,项目名称:hec-ecommerce,代码行数:8,代码来源:DetailsController.php

示例10: __construct

 public function __construct()
 {
     $this->auth = true;
     $this->php_self = 'discount.php';
     $this->authRedirection = 'discount.php';
     $this->ssl = true;
     parent::__construct();
 }
开发者ID:priyankajsr19,项目名称:indusdiva2,代码行数:8,代码来源:DiscountController.php

示例11: __construct

 public function __construct()
 {
     $this->auth = false;
     $this->php_self = 'curated.php';
     $this->authRedirection = 'curated.php';
     $this->ssl = true;
     parent::__construct();
 }
开发者ID:priyankajsr19,项目名称:indusdiva2,代码行数:8,代码来源:CuratedController.php

示例12: __construct

 public function __construct()
 {
     $this->klarna = new KlarnaPrestaShop();
     if (!$this->klarna->active) {
         exit;
     }
     parent::__construct();
 }
开发者ID:juniorhq88,项目名称:PrestaShop-modules,代码行数:8,代码来源:payment.php

示例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");
 }
开发者ID:priyankajsr19,项目名称:indusdiva2,代码行数:9,代码来源:OrderDetailController.php

示例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();
 }
开发者ID:hecbuma,项目名称:quali-fisioterapia,代码行数:9,代码来源:AddressController.php

示例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();
 }
开发者ID:nicolasjeol,项目名称:hec-ecommerce,代码行数:10,代码来源:ListPostController.php


注:本文中的FrontController::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。