本文整理汇总了PHP中rex_be_controller::getPageTitle方法的典型用法代码示例。如果您正苦于以下问题:PHP rex_be_controller::getPageTitle方法的具体用法?PHP rex_be_controller::getPageTitle怎么用?PHP rex_be_controller::getPageTitle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类rex_be_controller
的用法示例。
在下文中一共展示了rex_be_controller::getPageTitle方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: rex_fragment
$fragment = new rex_fragment();
$fragment->setVar('pageTitle', rex_be_controller::getPageTitle());
$fragment->setVar('cssFiles', rex_view::getCssFiles());
$fragment->setVar('jsFiles', rex_view::getJsFiles());
$fragment->setVar('jsProperties', json_encode(rex_view::getJsProperties()), false);
$fragment->setVar('favicon', rex_view::getFavicon());
$fragment->setVar('pageHeader', rex_extension::registerPoint(new rex_extension_point('PAGE_HEADER', '')), false);
$fragment->setVar('bodyAttr', $body, false);
echo $fragment->parse('core/top.php');
$fragment = new rex_fragment();
$fragment->setVar('items', $meta_items, false);
$meta_navigation = $fragment->parse('core/navigations/meta.php');
$fragment = new rex_fragment();
// $fragment->setVar('pageHeader', rex_extension::registerPoint(new rex_extension_point('PAGE_HEADER', '')), false);
$fragment->setVar('meta_navigation', $meta_navigation, false);
echo $fragment->parse('core/header.php');
echo '<div id="rex-js-page-container" class="rex-page-container">';
} elseif (rex_request::isPJAXRequest()) {
// add title to the page, so pjax can update it. see gh#136
echo '<title>' . htmlspecialchars(rex_be_controller::getPageTitle()) . '</title>';
}
$fragment = new rex_fragment();
$fragment->setVar('navigation', $navigation, false);
echo $fragment->parse('core/navigation.php');
$pjax = $curPage->allowsPjax() ? ' data-pjax-container="#rex-js-page-main"' : '';
?>
<div class="rex-page-main"><section class="rex-page-main-inner" id="rex-js-page-main"<?php
echo $pjax;
?>
>
示例2: array
$block = array();
$block['headline'] = array('title' => rex_i18n::msg('login'));
$block['navigation'] = $navi;
$blocks[] = $block;
$fragment = new rex_fragment();
// $fragment->setVar('headline', array("title" => $this->getHeadline($block)), false);
$fragment->setVar('type', 'main', false);
$fragment->setVar('blocks', $blocks, false);
$navigation = $fragment->parse('navigation.php');
}
*/
/* PJAX Footer Header ***********************************************************/
if (!rex_request::isPJAXContainer('#rex-js-page-container')) {
$fragment = new rex_fragment();
$fragment->setVar('pageTitle', rex_be_controller::getPageTitle());
$fragment->setVar('cssFiles', rex_view::getCssFiles());
$fragment->setVar('jsFiles', rex_view::getJsFiles());
$fragment->setVar('jsProperties', json_encode(rex_view::getJsProperties()), false);
$fragment->setVar('favicon', rex_view::getFavicon());
$fragment->setVar('pageHeader', rex_extension::registerPoint(new rex_extension_point('PAGE_HEADER', '')), false);
$fragment->setVar('bodyAttr', $body, false);
echo $fragment->parse('core/top.php');
$fragment = new rex_fragment();
$fragment->setVar('items', $meta_items, false);
$meta_navigation = $fragment->parse('core/navigations/meta.php');
$fragment = new rex_fragment();
// $fragment->setVar('pageHeader', rex_extension::registerPoint(new rex_extension_point('PAGE_HEADER', '')), false);
$fragment->setVar('meta_navigation', $meta_navigation, false);
echo $fragment->parse('core/header.php');
}