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


PHP JUDownloadHelper::getTotalPendingDocuments方法代码示例

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


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

示例1: defined

/**
 * ------------------------------------------------------------------------
 * JUDownload for Joomla 2.5, 3.x
 * ------------------------------------------------------------------------
 *
 * @copyright      Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
 * @license        GNU General Public License version 2 or later; see LICENSE.txt
 * @author         JoomUltra Co., Ltd
 * @website        http://www.joomultra.com
 * @----------------------------------------------------------------------@
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
if ($this->app->input->getInt('approve', 0) == 1) {
    $totalNextPendingDocuments = JUDownloadHelper::getTotalPendingDocuments('next', $this->item->id);
    $totalPrevPendingDocuments = JUDownloadHelper::getTotalPendingDocuments('prev', $this->item->id);
    ?>
	<div class="approval span12">
		<div class="approval-inner">
			<?php 
    if ($totalPrevPendingDocuments > 0) {
        ?>
				<button class="judl-previous btn btn-info"
				        onclick="Joomla.submitbutton('pendingdocument.saveAndPrev')">
					<i class="icon-arrow-left-2"></i>
					<?php 
        echo JText::sprintf('COM_JUDOWNLOAD_SAVE_AND_PREV_N', $totalPrevPendingDocuments);
        ?>
				</button>
			<?php 
    }
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:31,代码来源:edit_btn_group_control.php

示例2: 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">
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:31,代码来源:default.j25.php

示例3:

<ul class="manager-actions nav nav-list" style="margin-bottom: 20px;">
	<?php 
$actions = JUDownloadHelper::getActions('com_judownload', 'category', $cat_id);
if ($actions->get("judl.document.create")) {
    if ($this->docGroupCanDoManage && $this->allowAddDoc) {
        echo "<li><a class='add-document' href='index.php?option=com_judownload&task=document.add&cat_id={$cat_id}'><i class='icon-file-add'></i>" . JText::_('COM_JUDOWNLOAD_ADD_DOCUMENT') . "</a></li>";
    }
}
if ($actions->get("judl.category.create")) {
    if ($this->catGroupCanDoManage) {
        echo "<li><a class='add-category' href='index.php?option=com_judownload&task=category.add&parent_id={$cat_id}'><i class='icon-folder-plus'></i>" . JText::_('COM_JUDOWNLOAD_ADD_CATEGORY') . "</a></li>";
    }
}
if (JUDownloadHelper::checkGroupPermission(null, "pendingdocuments") && JUDLPROVERSION) {
    echo "<li><a class='approved' href='index.php?option=com_judownload&view=pendingdocuments'><i class='icon-clock'></i>" . JText::sprintf('COM_JUDOWNLOAD_PENDING_DOCUMENTS_N', JUDownloadHelper::getTotalPendingDocuments()) . "</a></li>";
}
?>
</ul>

<div class="category-tree">
	<?php 
echo JUDownloadHelper::getCategoryDTree($cat_id);
?>
</div>

<div id="judl-search" style="margin-top: 15px;">
	<form name="search-form" id="search-form" action="index.php?option=com_judownload" method="POST">
		<fieldset>
			<div class="input-append">
				<input type="text" name="searchword" class="input-medium" size="20" maxlength="250" value="" placeholder="<?php 
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:30,代码来源:default_left.php


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