本文整理汇总了PHP中rex_be_controller::includeCurrentPageSubPath方法的典型用法代码示例。如果您正苦于以下问题:PHP rex_be_controller::includeCurrentPageSubPath方法的具体用法?PHP rex_be_controller::includeCurrentPageSubPath怎么用?PHP rex_be_controller::includeCurrentPageSubPath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类rex_be_controller
的用法示例。
在下文中一共展示了rex_be_controller::includeCurrentPageSubPath方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: openPage
for(var i = 0; i < files.length; i++)
{
if (files[i].checked)
{
option = opener.document.createElement("OPTION");
option.text = files[i].value;
option.value = files[i].value;
source.options.add(option, sourcelength);
sourcelength++;
}
}
opener.writeREXMedialist(' . $id . ');';
}
?>
}
function openPage(src)
{
window.opener.location.href = src;
self.close();
}
//-->
</script>
<?php
// -------------- Include Page
rex_be_controller::includeCurrentPageSubPath(compact('opener_input_field', 'opener_link', 'arg_url', 'args', 'arg_fields', 'rex_file_category', 'rex_file_category_name', 'PERMALL', 'file_id', 'error', 'success'));
示例2:
<?php
/**
* Cronjob Addon.
*
* @author gharlan[at]web[dot]de Gregor Harlan
*
* @package redaxo5
*
* @var rex_addon $this
*/
echo rex_view::title($this->i18n('title'));
rex_be_controller::includeCurrentPageSubPath();
示例3: rex_extension_point
// ------------------------------------------ WARNING
if ($global_warning != '') {
$contentMain .= rex_view::warning($global_warning);
}
if ($global_info != '') {
$contentMain .= rex_view::success($global_info);
}
// --------------------------------------------- API MESSAGES
$contentMain .= rex_api_function::getMessage();
if ($warning != '') {
$contentMain .= rex_view::warning($warning);
}
if ($info != '') {
$contentMain .= rex_view::success($info);
}
// ----- EXTENSION POINT
$contentMain .= rex_extension::registerPoint(new rex_extension_point('STRUCTURE_CONTENT_BEFORE_SLICES', '', ['article_id' => $article_id, 'clang' => $clang, 'function' => $function, 'slice_id' => $slice_id, 'page' => rex_be_controller::getCurrentPage(), 'ctype' => $ctype, 'category_id' => $category_id, 'article_revision' => &$article_revision, 'slice_revision' => &$slice_revision]));
// ------------------------------------------ START: MODULE EDITIEREN/ADDEN ETC.
$contentMain .= rex_be_controller::includeCurrentPageSubPath(compact('info', 'warning', 'template_attributes', 'article', 'article_id', 'category_id', 'clang', 'slice_id', 'slice_revision', 'function', 'ctype', 'content', 'context'));
// ------------------------------------------ END: AUSGABE
// ----- EXTENSION POINT
$contentMain .= rex_extension::registerPoint(new rex_extension_point('STRUCTURE_CONTENT_AFTER_SLICES', '', ['article_id' => $article_id, 'clang' => $clang, 'function' => $function, 'slice_id' => $slice_id, 'page' => rex_be_controller::getCurrentPage(), 'ctype' => $ctype, 'category_id' => $category_id, 'article_revision' => &$article_revision, 'slice_revision' => &$slice_revision]));
$contentMain = '<section id="rex-js-page-main-content" data-pjax-container="#rex-js-page-main-content">' . $contentMain . '</section>';
// ----- EXTENSION POINT
$contentSidebar = rex_extension::registerPoint(new rex_extension_point('STRUCTURE_CONTENT_SIDEBAR', '', ['article_id' => $article_id, 'clang' => $clang, 'function' => $function, 'slice_id' => $slice_id, 'page' => rex_be_controller::getCurrentPage(), 'ctype' => $ctype, 'category_id' => $category_id, 'article_revision' => &$article_revision, 'slice_revision' => &$slice_revision]));
$fragment = new rex_fragment();
$fragment->setVar('content', $contentMain, false);
$fragment->setVar('sidebar', $contentSidebar, false);
echo $fragment->parse('core/page/main_content.php');
}
}