本文整理匯總了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();
}
示例2: displayFooter
public function displayFooter()
{
if (!$this->instantSearch and !$this->ajaxSearch) {
parent::displayFooter();
}
}
示例3: displayFooter
public function displayFooter()
{
if (Tools::getValue('ajax') != 'true') {
parent::displayFooter();
}
}
示例4: displayFooter
public function displayFooter($display = true)
{
if (!$this->instant_search && !$this->ajax_search) {
parent::displayFooter();
}
}
示例5: displayFooter
public function displayFooter()
{
if ($this->display_footer) {
parent::displayFooter();
}
}