本文整理匯總了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;
/**#@-*/
/**
示例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()