當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CAppUI::getLibraryClass方法代碼示例

本文整理匯總了PHP中CAppUI::getLibraryClass方法的典型用法代碼示例。如果您正苦於以下問題:PHP CAppUI::getLibraryClass方法的具體用法?PHP CAppUI::getLibraryClass怎麽用?PHP CAppUI::getLibraryClass使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CAppUI的用法示例。


在下文中一共展示了CAppUI::getLibraryClass方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: CAppUI

<?php

/**
 *	@package web2project
 *	@subpackage output
 *	@version $Revision$
 *
 *  As of v3.0, this class has moved from the Calendar module to its own structure.
 *
 */
if (!isset($AppUI)) {
    $AppUI = new CAppUI();
}
require_once $AppUI->getLibraryClass('PEAR/Date');
/**
 * Displays a configuration month calendar
 *
 * All Date objects are based on the PEAR Date package
 */
class w2p_Output_MonthCalendar
{
    /**#@+
     * @var Date
     */
    public $this_month;
    public $prev_month;
    public $next_month;
    public $prev_year;
    public $next_year;
    /**#@-*/
    /**
開發者ID:viniciusbudines,項目名稱:sisnuss,代碼行數:31,代碼來源:MonthCalendar.class.php

示例2: __construct

<?php

/* $Id: forums.class.php 2013 2011-08-07 07:03:43Z caseydk $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/tags/version2.4/modules/forums/forums.class.php $ */
if (!defined('W2P_BASE_DIR')) {
    die('You should not access this file directly.');
}
if (!isset($AppUI)) {
    $AppUI = new CAppUI();
}
require_once $AppUI->getLibraryClass('PEAR/BBCodeParser');
$bbparser = new HTML_BBCodeParser();
$filters = array('- Filters -');
if ($a == 'viewer') {
    array_push($filters, 'My Watched', 'Last 30 days');
} else {
    array_push($filters, 'My Forums', 'My Watched', 'My Projects', 'My Company', 'Inactive Projects');
}
class CForum extends w2p_Core_BaseObject
{
    public $forum_id = null;
    public $forum_project = null;
    public $forum_status = null;
    public $forum_owner = null;
    public $forum_name = null;
    public $forum_create_date = null;
    public $forum_last_date = null;
    public $forum_last_id = null;
    public $forum_message_count = null;
    public $forum_description = null;
    public $forum_moderated = null;
    public function __construct()
開發者ID:viniciusbudines,項目名稱:sisnuss,代碼行數:31,代碼來源:forums.class.php


注:本文中的CAppUI::getLibraryClass方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。