本文整理汇总了PHP中PageManager::getPageInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP PageManager::getPageInfo方法的具体用法?PHP PageManager::getPageInfo怎么用?PHP PageManager::getPageInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PageManager
的用法示例。
在下文中一共展示了PageManager::getPageInfo方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hideSlider
hideSlider();
})
<?php
foreach ($list as $pageId) {
$pm->setPage($pageId);
?>
.controller('<?php
echo $pm->fixPageIdForController($pageId);
?>
Controller', function($scope){
addActive('<?php
echo $pageId;
?>
');
$scope.title = "<?php
echo $pm->getPageInfo('page-title');
?>
";
setTitle("<?php
echo $pm->getPageInfo('page-title');
?>
");
$scope.breadcrumb = [
{title:'Home',link:'/home',active:false},
{title:'<?php
echo $pm->getPageInfo('page-title');
?>
',link:'/<?php
echo $pageId;
?>
',active:true},
示例2:
<ol class="breadcrumb text-center mt-10 white">
<li ng-repeat="crud in breadcrumb" ng-class="{active:crud.active}">
<a href="{{crud.link}}">{{crud.title}}</a>
</li>
</ol>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="row" id="main-content">
<div class="col-md-12">
<?php
echo $pm->getPageInfo('page-content');
?>
</div>
</div>
</div>
</section>
<script src="<?php
echo assets;
?>
theme/js/custom.js"></script>
<?php
if ($auth->isAdmin()) {
?>
<input type="hidden" value="<?php
echo $pm->getCurrentPageId();
?>