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


PHP JUDirectoryHelper::getTotalPendingComments方法代码示例

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


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

示例1: defined

 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.multiselect');
JHtml::_('behavior.tooltip');
$model = $this->getModel();
$statistics = $this->get('Statistics');
$lastCreatedComments = $this->get('lastCreatedComments');
$lastCreatedListings = $model->getListings("lastCreatedListings");
$lastUpdatedListings = $model->getListings("lastUpdatedListings");
$popularListings = $model->getListings("popularListings");
$totalUnreadReports = $model->getTotalUnreadReports();
$totalClaims = $model->getTotalClaims();
$totalMailqs = $model->getTotalMailqs();
$totalPendingListing = JUDirectoryHelper::getTotalPendingListings();
$totalPendingComment = JUDirectoryHelper::getTotalPendingComments();
?>
<div class="jubootstrap">

<div id="iframe-help"></div>

<div class="adminform">
<div class="cpanel-left">
<div id="position-icon" class="pane-sliders">
<?php 
if (JUDirectoryHelper::checkGroupPermission(null, "listcats")) {
    ?>
	<div class="cpanel">
		<div class="icon-wrapper">
			<div class="icon">
				<a href="<?php 
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:31,代码来源:default.j25.php

示例2:

					<div class="judir-option-approve-item input-prepend input-append pull-left">
					<span class="add-on">
						<input type="radio" name="approval_option" value="delete" id="reject-comment" />
					</span>
						<label for="reject-comment" class="btn btn-danger">
							<i class="icon-cancel"></i>
							<?php 
    echo JText::_('COM_JUDIRECTORY_REJECT');
    ?>
						</label>
					</div>
					<div class="clr"></div>
				</div>

				<?php 
    $totalNextPendingComments = JUDirectoryHelper::getTotalPendingComments('next', $this->item->id);
    if ($totalNextPendingComments) {
        ?>
					<button class="judir-next btn btn-info" onclick="Joomla.submitbutton('pendingcomment.saveAndNext')">
						<?php 
        echo JText::sprintf('COM_JUDIRECTORY_SAVE_AND_NEXT_N', $totalNextPendingComments);
        ?>
						<i class="icon-arrow-right-2"></i>
					</button>
				<?php 
    }
    ?>
			</div>
		</div>

		<div class="clr"></div>
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:31,代码来源:edit.j25.php


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