本文整理汇总了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();
}
}