本文整理汇总了PHP中PageManager::getCurrentPageId方法的典型用法代码示例。如果您正苦于以下问题:PHP PageManager::getCurrentPageId方法的具体用法?PHP PageManager::getCurrentPageId怎么用?PHP PageManager::getCurrentPageId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PageManager
的用法示例。
在下文中一共展示了PageManager::getCurrentPageId方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?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();
?>
" id="page-id">
<input type="hidden" value="<?php
echo Comman::getController('page-manager');
?>
" id="controller-url">
<button class="btn btn-colored btn-orange btn-lg page-editor-save-btn hidden">Save</button>
<div class="alert alert-danger notice center-block hidden page-editor-save-btn-warning">Something went wrong. Data cannot be saved. Please reload page Or try to click on save button again.</div>
<script type="text/javascript" src="editor/codemirror-5.11/lib/codemirror.js"></script>
<script type="text/javascript" src="editor/codemirror-5.11/mode/xml/xml.js"></script>
<script type="text/javascript" src="editor/js/froala_editor.min.js" ></script>
<script type="text/javascript" src="editor/js/plugins/align.min.js"></script>
<script type="text/javascript" src="editor/js/plugins/code_beautifier.min.js"></script>