當前位置: 首頁>>代碼示例>>PHP>>正文


PHP FrontController::displayFooter方法代碼示例

本文整理匯總了PHP中FrontController::displayFooter方法的典型用法代碼示例。如果您正苦於以下問題:PHP FrontController::displayFooter方法的具體用法?PHP FrontController::displayFooter怎麽用?PHP FrontController::displayFooter使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在FrontController的用法示例。


在下文中一共展示了FrontController::displayFooter方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: dirname

*
*  @author PaymentSense <devsupport@paymentsense.com>
*  @copyright  2013 PaymentSense
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*
This file is part of the Prestashop PaymentSense Re-Directed Payment Module
See paymentsense.php for Licensing and support info.
File Last Modified: 12/03/2013 - By Shaun Ponting - Opal Creations
*/
include dirname(__FILE__) . '/../../config/config.inc.php';
include dirname(__FILE__) . '/../../init.php';
include dirname(__FILE__) . '/paymentsense.php';
$paymentsense = new PaymentSense();
if ($paymentsense->active) {
    if ((int) Configuration::get('PS_REWRITING_SETTINGS') === 1) {
        $rewrited_url = __PS_BASE_URI__;
    }
    /*include(dirname(__FILE__).'/../../header.php');*/
    $controller = new FrontController();
    $controller->init();
    $controller->initContent();
    $controller->setMedia();
    $controller->displayHeader();
    if (!isset($link)) {
        $link = new Link();
    }
    $smarty->assign('cartURL', $link->getPageLink('order.php?step=1'));
    $smarty->assign('contactURL', $link->getPageLink('contact-form.php'));
    $smarty->display(dirname(__FILE__) . '/views/templates/front/return.tpl');
    $controller->displayFooter();
}
開發者ID:ventsiwad,項目名稱:presta_addons,代碼行數:31,代碼來源:return.php

示例2: displayFooter

 public function displayFooter()
 {
     if (!$this->instantSearch and !$this->ajaxSearch) {
         parent::displayFooter();
     }
 }
開發者ID:hecbuma,項目名稱:quali-fisioterapia,代碼行數:6,代碼來源:SearchController.php

示例3: displayFooter

 public function displayFooter()
 {
     if (Tools::getValue('ajax') != 'true') {
         parent::displayFooter();
     }
 }
開發者ID:Evil1991,項目名稱:PrestaShop-1.4,代碼行數:6,代碼來源:OrderDetailController.php

示例4: displayFooter

 public function displayFooter($display = true)
 {
     if (!$this->instant_search && !$this->ajax_search) {
         parent::displayFooter();
     }
 }
開發者ID:toufikadfab,項目名稱:PrestaShop-1.5,代碼行數:6,代碼來源:SearchController.php

示例5: displayFooter

 public function displayFooter()
 {
     if ($this->display_footer) {
         parent::displayFooter();
     }
 }
開發者ID:acreno,項目名稱:pm-ps,代碼行數:6,代碼來源:advancedsearch4.php


注:本文中的FrontController::displayFooter方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。