當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。