本文整理汇总了PHP中JUDownloadHelper::getTotalPendingComments方法的典型用法代码示例。如果您正苦于以下问题:PHP JUDownloadHelper::getTotalPendingComments方法的具体用法?PHP JUDownloadHelper::getTotalPendingComments怎么用?PHP JUDownloadHelper::getTotalPendingComments使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JUDownloadHelper
的用法示例。
在下文中一共展示了JUDownloadHelper::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');
$lastDownloadedDocuments = $this->get('lastDownloadedDocuments');
$lastCreatedComments = $this->get('lastCreatedComments');
$lastCreatedDocuments = $model->getDocuments("lastCreatedDocuments");
$lastUpdatedDocuments = $model->getDocuments("lastUpdatedDocuments");
$topDownloadDocuments = $model->getDocuments("topDownloadDocuments");
$popularDocuments = $model->getDocuments("popularDocuments");
$totalUnreadReports = $model->getTotalUnreadReports();
$totalMailqs = $model->getTotalMailqs();
$totalPendingDocument = JUDownloadHelper::getTotalPendingDocuments();
$totalPendingComment = JUDownloadHelper::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 (JUDownloadHelper::checkGroupPermission(null, "listcats")) {
?>
<div class="cpanel">
<div class="icon-wrapper">
<div class="icon">
<a href="<?php
示例2:
<div class="judl-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_JUDOWNLOAD_REJECT');
?>
</label>
</div>
<div class="clr"></div>
</div>
<?php
$totalNextPendingComments = JUDownloadHelper::getTotalPendingComments('next', $this->item->id);
if ($totalNextPendingComments) {
?>
<button class="judl-next btn btn-info" onclick="Joomla.submitbutton('pendingcomment.saveAndNext')">
<?php
echo JText::sprintf('COM_JUDOWNLOAD_SAVE_AND_NEXT_N', $totalNextPendingComments);
?>
<i class="icon-arrow-right-2"></i>
</button>
<?php
}
?>
</div>
</div>
<div class="clr"></div>