本文整理汇总了PHP中op_include_pager_total函数的典型用法代码示例。如果您正苦于以下问题:PHP op_include_pager_total函数的具体用法?PHP op_include_pager_total怎么用?PHP op_include_pager_total使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了op_include_pager_total函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: op_mobile_page_title
op_mobile_page_title(__('Invite App'), $application->getTitle());
?>
<?php
if ($pager && $pager->getRawValue() instanceof sfPager && $pager->getNbResults()) {
echo __('Select the member who wants to invite to this App.');
?>
<hr color="<?php
echo $op_color['core_color_12'];
?>
">
<center>
<?php
op_include_pager_total($pager);
?>
</center>
<?php
if (count($ids)) {
if (1 === count($ids)) {
echo __('1 member has been selected.');
} else {
echo __('%0% members has been selected.', array('%0%' => count($ids)));
}
}
?>
<?php
echo $form->renderFormTag(url_for('@application_invite?id=' . $memberApplication->getId()));
$list = array();
示例2: __
<?php
if ($commentPager->getNbResults()) {
?>
<hr color="<?php
echo $op_color['core_color_11'];
?>
">
<center>
<?php
echo __('Comments', array(), 'form_community');
?>
<br>
<?php
op_include_pager_total($commentPager);
?>
</center>
<?php
foreach ($commentPager->getResults() as $comment) {
$list[] = get_partial('communityTopicComment/comment', array('comment' => $comment));
}
op_include_list('commentList', $list, array('border' => true));
if ($commentPager->haveToPaginate()) {
op_include_pager_navigation($commentPager, '@communityTopic_show?id=' . $communityTopic->getId() . '&page=%d');
}
}