当前位置: 首页>>代码示例>>PHP>>正文


PHP context::global_filter方法代码示例

本文整理汇总了PHP中context::global_filter方法的典型用法代码示例。如果您正苦于以下问题:PHP context::global_filter方法的具体用法?PHP context::global_filter怎么用?PHP context::global_filter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在context的用法示例。


在下文中一共展示了context::global_filter方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<div id="header">
	<h1><a href="<?php 
echo context::global_filter($core->blog->url, 0, 0, 0, 0, 0, 'BlogURL');
?>
"><em><?php 
echo context::global_filter($core->blog->name, 1, 0, 0, 0, 0, 'BlogName');
?>
</em> <?php 
echo context::global_filter($core->blog->settings->editor, 1, 0, 0, 0, 0, 'BlogEditor');
?>
</a></span></h1>
  <p><?php 
echo context::global_filter($core->blog->desc, 0, 0, 0, 0, 0, 'BlogDescription');
?>
</p>

  <?php 
if ($core->hasBehavior('publicTopAfterContent')) {
    $core->callBehavior('publicTopAfterContent', $core, $_ctx);
}
?>
</div>
开发者ID:HackerMajor,项目名称:root,代码行数:22,代码来源:102ef9138f99be92b1c6984ec7a979d1.php

示例2: __

            echo __('page');
            ?>
 <?php 
            echo context::global_filter(context::PaginationPosition(0), 0, 0, 0, 0, 0, 'PaginationCurrent');
            ?>
 <?php 
            echo __('of');
            ?>
 <?php 
            echo context::global_filter(context::PaginationNbPages(), 0, 0, 0, 0, 0, 'PaginationCounter');
            ?>
        <?php 
            if (!context::PaginationStart()) {
                ?>
 - <a href="<?php 
                echo context::global_filter(context::PaginationURL(-1), 0, 0, 0, 0, 0, 'PaginationURL');
                ?>
" class="next"><?php 
                echo __('next entries');
                ?>
        &#187;</a><?php 
            }
            ?>
</p>
      <?php 
        }
        ?>
    <?php 
    }
    ?>
  <?php 
开发者ID:HackerMajor,项目名称:root,代码行数:31,代码来源:41def94b506fb1e38a7fcb6de8d5b1d2.php

示例3: url

<style type="text/css" media="screen">
@import url(<?php 
echo context::global_filter($core->blog->settings->themes_url . "/" . $core->blog->settings->theme, 0, 0, 0, 0, 0, 'BlogThemeURL');
?>
/style.css);
</style>
<style type="text/css" media="print">
@import url(<?php 
echo context::global_filter($core->blog->settings->themes_url . "/" . $core->blog->settings->theme, 0, 0, 0, 0, 0, 'BlogThemeURL');
?>
/../default/print.css);
</style>

<script type="text/javascript" src="<?php 
echo context::global_filter($core->blog->settings->themes_url . "/" . $core->blog->settings->theme, 0, 0, 0, 0, 0, 'BlogThemeURL');
?>
/../default/js/jquery.js"></script>
<script type="text/javascript" src="<?php 
echo context::global_filter($core->blog->settings->themes_url . "/" . $core->blog->settings->theme, 0, 0, 0, 0, 0, 'BlogThemeURL');
?>
/../default/js/jquery.cookie.js"></script>

<?php 
try {
    echo $core->tpl->getData('user_head.html');
} catch (Exception $e) {
}
if ($core->hasBehavior('publicHeadContent')) {
    $core->callBehavior('publicHeadContent', $core, $_ctx);
}
开发者ID:HackerMajor,项目名称:root,代码行数:30,代码来源:f4cd3d6ed05ba6b56ca6a7ffb9fb3986.php


注:本文中的context::global_filter方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。