本文整理汇总了PHP中Viewer类的典型用法代码示例。如果您正苦于以下问题:PHP Viewer类的具体用法?PHP Viewer怎么用?PHP Viewer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Viewer类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$auth = Auth::getInstance();
$ID = $this->fieldData['guid'];
$realmID = substr($this->fieldData['id'], 3);
$type = $this->fieldData['treeUser'];
if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml")) {
header("Content-type: application/xhtml+xml");
} else {
header("Content-type: text/xml");
}
if ($type == 'group') {
$treeInfo = AuthSubRealmViewer::singleRealmTree($realmID, $ID, true);
} else {
$treeInfo = AuthSubRealmViewer::singleRealmTree($realmID, $ID, false);
}
echo "<?xml version='1.0' encoding='iso-8859-1'?>\n";
if ($realmID == 0) {
$realmID = 0;
} else {
$realmID = "rlm" . $realmID;
}
$treeInfo = '<tree id="' . $realmID . '">' . $treeInfo . '</tree>';
echo $treeInfo;
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:27,代码来源:AuthSubRealmViewer.class.php
示例2: addPredmet
public static function addPredmet()
{
$id = intval($_GET['id']);
$predmetid = intval($_POST['predmetid']);
$ucitel = intval($_POST['ucitel']);
DB::query("INSERT INTO `tests` (trieda,predmetid,ucitel) VALUES ('" . $id . "','" . $predmetid . "','" . $ucitel . "')");
Viewer::addMessage("Predmet bot úspešne pridaný !", Viewer::OK);
}
开发者ID:kabell,项目名称:dotaznik,代码行数:8,代码来源:Admin.php
示例3: __construct
/**
* Construct the viewer and load values
*
* If you intend on overriding this classes constructor you should ensure
* that you call parent::__construct(); to ensure that the class
* is loaded correctly.
*
* @param string $templateID The ID of the template for the page to be viewed. This ID is the ID of the template in the database.
* @param string $formName The name of the form (if any) which has been submitted
* @param array $fieldData An associative array for field/value pairs from the submitted form (if any)
* @todo Add authnetication checks to call processInvalid or processInvalid accordingly.
*/
public function __construct($templateIDS, $formName = null, $modelModuleName, $viewerModuleName, &$fieldData = array(), &$errors = array())
{
//Store class variables
$this->templateIDStack = $templateIDS;
$this->templateID = end($templateIDS);
$this->formName = $formName;
$this->fieldData =& $fieldData;
$this->errors =& $errors;
if (count($errors) > 0) {
$this->processInvalid();
} else {
$this->processValid();
}
//something
//Initialise the viewer
$this->viewer = MVCUtils::initializeViewer($this->templateIDStack, $formName, $viewerModuleName, $fieldData, $errors);
//The $viewer class variable is now loaded
$this->code = $this->viewer->getCode();
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:31,代码来源:Model.class.php
示例4: query
public static function query($sql)
{
Utils::log($sql);
//echo $sql."\n";
$res = self::$db->query($sql);
if ($res == FALSE) {
Utils::log("DB ERROR");
Viewer::addMessage("Nastala chyba pri komunikácii s databázou, prosím kontaktuj administrátora !", Viewer::ERROR);
}
return $res;
}
开发者ID:kabell,项目名称:dotaznik,代码行数:11,代码来源:DB.php
示例5: run
/**
* <p>This is the only methods which runs the application. In fact it creates a new
* instance of this class because the constructor contains all necessary instructions to set up
* application variables and parse required data from XML source. It is as easy as possible 8-D</p>
*/
public static function run()
{
self::$instance = new Application();
try {
self::$instance->getParser()->parse();
Viewer::vizualize(self::$instance->getParams()->getRequestedView());
} catch (Exception $e) {
self::$instance->caughtException = $e;
Viewer::vizualize(self::$instance->getParams()->getErrorView());
}
}
开发者ID:jspetrak,项目名称:raillog,代码行数:16,代码来源:_application.php
示例6: action_view
public function action_view()
{
$uri = $this->request->detect_uri();
if ($uri == '') {
$this->redirect(URL::to('page@view:home'));
}
$id = $this->request->param('id');
$query = $this->request->query();
$username = $this->request->post('username');
$password = $this->request->post('password');
$login = $this->request->post('login');
$identity = Identity::instance();
$info = ORM::factory('Page')->filter('alias', $id)->load();
if ($info->loaded()) {
//downloads
if ($id == 'download') {
$downloads = true;
}
//contact
if ($id == 'contact') {
$form = Form::factory('Contact');
//$form = Form::
if ($form->valid()) {
//var_dump($form->values());
$this->redirect(URL::to('page@view:contact') . '?form=sent');
}
} else {
$form = FALSE;
}
//login mechanism
if (empty($username) && $login == 'Login') {
$this->redirect(URL::current() . '?auth=nameError');
} elseif (empty($password) && $login == 'Login') {
$this->redirect(URL::current() . '?auth=false');
} elseif (!empty($username) && !empty($password) && $login == 'Login') {
$auth = $identity->authenticate($username, $password);
if ($auth) {
$this->redirect(URL::current());
} else {
$this->redirect(URL::current() . '?auth=false');
}
}
//logout mechanism
if ($login == 'Logout') {
$identity->destroy();
$this->redirect(URL::current());
}
$view = View::factory('page/item', array('item' => Viewer::factory($info), 'form' => $form, 'query' => $query, 'downloads' => isset($downloads) ? $downloads : null));
$this->response->body($view->render());
} else {
throw HTTP_Exception::factory(404, 'Page not found');
}
}
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:53,代码来源:Page.php
示例7: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$count_query = "SELECT count(*) FROM requests";
$requestedNum = $db->getOne($count_query);
$query = "SELECT * FROM requests ORDER BY date DESC";
$requestedResult = $db->getAll($query);
$i = 0;
foreach ($requestedResult as $key => &$track) {
$track['number'] = $i;
$track['rtime'] = date("m/d/y", $track['date']);
$track['user'] = AuthUtil::getUsername($track['userid']);
$i++;
}
$trackCount = $i;
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$this->assign('CensorTrack', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 30), $userID));
$this->assign('RequestTrack', 't');
$this->assign('RemoveRequestTrack', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 29), $userID));
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
$this->assign('requestedTracks', $requestedResult);
$this->assign('requestedNum', $requestedNum);
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:26,代码来源:DPSTrackRequestViewer.class.php
示例8: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$trackIDs = explode(";", $this->fieldData['trackID']);
$tracksDetails = array();
foreach ($trackIDs as $trackID) {
$sql = "SELECT audio.*, albums.name AS album \n\t\t\tFROM audio, albums \n\t\t\tWHERE audio.music_album = albums.id \n\t\t\t\tAND audio.id = " . pg_escape_string($trackID);
$trackDetails = $db->getRow($sql);
$sql = "SELECT DISTINCT artists.name AS name \n\t\t\tFROM artists, audioartists \n\t\t\tWHERE audioartists.audioid = " . pg_escape_string($trackID) . " \n\t\t\t\tAND audioartists.artistid = artists.id";
$trackDetails['artist'] = $db->getColumn($sql);
$sql = "SELECT DISTINCT keywords.name AS name \n\t\t\tFROM keywords, audiokeywords \n\t\t\tWHERE audiokeywords.audioid = " . pg_escape_string($trackID) . " \n\t\t\t\tAND audiokeywords.keywordid = keywords.id";
$trackDetails['keywords'] = $db->getColumn($sql);
$samples = $trackDetails['length_smpl'];
$trackDetails['length'] = $tracksLen = round($samples / 44100 / 60) . "mins " . $samples / 44100 % 60 . "secs.";
$sql = "SELECT * FROM audiocomments \n\t\t\tWHERE audioid = " . pg_escape_string($trackID) . " \n\t\t\tORDER BY creationdate ASC";
$trackDetails['comments'] = $db->getAll($sql);
foreach ($trackDetails['comments'] as &$comment) {
$comment['username'] = AuthUtil::getUsername($comment['userid']);
$comment['comment'] = str_replace("\n", "<br>", $comment['comment']);
$comment['ctime'] = substr($comment['creationdate'], 0, 10);
}
$tracksDetails[] = $trackDetails;
}
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$this->assign('RequestTrack', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 29), $userID));
$this->assign('Access_CommentTrack', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 34), $userID));
$this->assign('Access_EditTrack', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 27), $userID));
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
$this->assign('tracksDetails', $tracksDetails);
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:33,代码来源:DPSTracksViewViewer.class.php
示例9: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$scriptID = pg_escape_string($this->fieldData['scriptID']);
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$date = time();
if (is_numeric($scriptID)) {
$script_query = "SELECT bit_or(permissions) \n\t\t\t\tFROM v_tree_script\n\t\t\t\tWHERE id = {$scriptID}\n\t\t\t\t\tAND userid = {$userID}";
$checkScripts = $db->getOne($script_query);
if (substr($checkScripts, 0, 1) == "1") {
if (substr($checkScripts, 1, 1) == "1") {
$this->assign('write', 't');
} else {
$this->assign('write', 'f');
}
$script_sql = "SELECT * FROM scripts WHERE id = " . $scriptID;
$script = $db->getRow($script_sql);
$script['m'] = (int) ($script['length'] / 60);
$script['s'] = $script['length'] - $script['m'] * 60;
$script['niceProducer'] = AuthUtil::getUsername($script['creator']);
$this->assign('script', $script);
} else {
$this->assign('error', 'You do not have permission to edit that script.');
}
} else {
$this->assign('error', 'Invalid Show ID supplied');
}
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:32,代码来源:DPSUserEditScriptViewer.class.php
示例10: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$audioID = pg_escape_string($this->fieldData['audioID']);
$sql = "SELECT jinglepkgid FROM audiojinglepkgs WHERE audioid = {$audioID}";
$jinglepkgID = $db->getOne($sql);
$sql = "SELECT name FROM jinglepkgs WHERE id = {$jinglepkgID}";
$currentpkg = $db->getOne($sql);
if ($currentpkg == '') {
$currentpkg = 'Default';
}
$sql = "SELECT title FROM audio WHERE id = {$audioID}";
$jinglename = $db->getOne($sql);
$sql = "SELECT name, id FROM jinglepkgs";
$jinglepkgs = $db->getAll($sql);
$this->assign('access_playlist', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 33), $userID));
$this->assign('access_sue', AuthUtil::getDetailedUserrealmAccess(array(24, 20, 3), $userID));
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
$this->assign('jinglepkgs', $jinglepkgs);
$this->assign('currentpkg', $currentpkg);
$this->assign('currentpkgid', $jinglepkgID);
$this->assign('jinglename', $jinglename);
$this->assign('jingleID', $audioID);
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:28,代码来源:DPSStationMoveJingleViewer.class.php
示例11: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$loc = 1;
$sql = "SELECT v_tree_aw_sets.*, aw_sets_users.user_id AS userid\n from v_tree_aw_sets LEFT OUTER JOIN aw_sets_users\n ON aw_sets_users.set_id = v_tree_aw_sets.id\n\t\t\tWHERE v_tree_aw_sets.userid = " . $cfg['DPS']['systemUserID'] . " \n\t\t\t\tAND v_tree_aw_sets.permissions & B'" . $cfg['DPS']['fileR'] . "' = '" . $cfg['DPS']['fileR'] . "'";
// station awsets
$awsets = $db->getAll($sql);
$sql = "SELECT val FROM configuration \n\t\t\tWHERE location = {$loc} \n\t\t\t\tAND parameter = 'station_aw_set'";
$userset = $db->getOne($sql);
foreach ($awsets as &$awset) {
if ($userset == $awset['id']) {
$awset['active'] = 't';
} else {
$awset['active'] = 'f';
}
$sql = "SELECT BIT_OR(permissions) \n\t\t\t\tFROM v_tree_dir \n\t\t\t\tWHERE v_tree_dir.id = {$awset['parent']}\n\t\t\t\t\tAND v_tree_dir.userid = {$cfg['DPS']['systemUserID']}";
$awset['parentperm'] = $db->getOne($sql);
$awset['userid'] = AuthUtil::getUsername($awset['userid']);
}
$this->assign('access_playlist', AuthUtil::getDetailedUserrealmAccess(array(3, 21, 33), $userID));
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
$this->assign('awsets', $awsets);
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:27,代码来源:DPSStationAwSetViewer.class.php
示例12: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$trackid = $this->fieldData['trackID'];
if (is_numeric($trackid)) {
$query = "SELECT title, artist, md5, path FROM v_audio \n\t\t\t\tWHERE id = " . $trackid;
$file = $db->getRow($query);
//$filename = escapeshellarg($file['path']) . "/" .
// escapeshellarg($file['md5'][0]) . "/" .
// escapeshellarg($file['md5']);
$filename = $file['path'] . "/" . $file['md5'][0] . "/" . $file['md5'];
header('Pragma: public');
header('Expires: 0');
header('Content-Transfer-Encoding: binary');
#header('Cache-Control: no-store,no-cache,must-revalidate');
header('Content-Length: 180373');
$fileN = str_replace(' ', '_', $file['title']) . '-' . str_replace(' ', '_', $file['artist']) . '.mp3';
$fileN = str_replace('"', "", $fileN);
$headstr = 'Content-Disposition: attachment; filename="' . $fileN . "\"";
header($headstr);
header('Content-type: audio/mpeg');
passthru($cfg['general']['toolkitRoot'] . "/DPS/encode-digiplay-file.sh " . $filename);
}
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:26,代码来源:DPSMp3PreviewViewer.class.php
示例13: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$dirID = substr($this->fieldData['id'], 3);
$type = $this->fieldData['treeUser'];
if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml")) {
header("Content-type: application/xhtml+xml");
} else {
header("Content-type: text/xml");
}
if ($type == 'group') {
$treeInfo = DPS::singleGroupTreeSetup($dirID, $cfg['Auth']['defaultNewUserGroup'], $this->fieldData['treeType']);
} else {
$treeInfo = DPS::singleTreeSetup($dirID, $userID, $this->fieldData['treeType']);
}
echo "<?xml version='1.0' encoding='iso-8859-1'?>\n";
if ($dirID == 1) {
$dirID = 0;
} else {
$dirID = "dir" . $dirID;
}
$treeInfo = '<tree id="' . $dirID . '">' . $treeInfo . '</tree>';
echo $treeInfo;
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:27,代码来源:DPSUserSubFileViewer.class.php
示例14: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$dirID = pg_escape_string($this->fieldData['rootdir']);
if (!is_numeric($dirID)) {
$this->assign('permError', 't');
} else {
$flag = false;
$sql = "SELECT count(*) FROM v_tree_dir\n\t\t\t\tWHERE id = {$dirID}\n\t\t\t\t\tAND\tuserid = {$userID}\n\t\t\t\t\tAND permissions & B'" . $cfg['DPS']['fileW'] . "' = '" . $cfg['DPS']['fileW'] . "'";
if ($db->getOne($sql) > 0) {
$flag = true;
}
if ($flag) {
$sql = "SELECT * FROM dir WHERE id = {$dirID}";
$folder = $db->getRow($sql);
$this->assign('folder', $folder);
} else {
$this->assign('permError', 't');
}
}
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:25,代码来源:DPSUserFileUploadViewer.class.php
示例15: initialize
private static function initialize()
{
if (self::$initialized) {
return;
}
self::disable_ob();
try {
self::$redis = new Redis();
self::$redis_enabled = self::$redis->pconnect('127.0.0.1', 6379, 0.01);
} catch (Exception $e) {
}
if (isset($_SERVER['HTTP_HOST'])) {
self::$log_prefix = $_SERVER['HTTP_HOST'];
} else {
self::$log_prefix = basename(realpath(__DIR__ . '/../../../'));
}
if (file_exists(dirname(__FILE__) . '/system/logs/')) {
self::$log_path = dirname(__FILE__) . '/system/logs/';
} else {
if (file_exists(dirname(__FILE__) . '/../application/logs/')) {
self::$log_path = dirname(__FILE__) . '/../application/logs/';
}
}
self::$initialized = true;
}
开发者ID:sevir,项目名称:toffy-lite,代码行数:25,代码来源:log.php
示例16: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$scriptID = pg_escape_string($this->fieldData['scriptID']);
if (!is_numeric($scriptID)) {
$this->assign('permError', 't');
} else {
$sql = "SELECT count(*) FROM v_tree_script\n\t\t\t\tWHERE id = {$scriptID}\n\t\t\t\t\tAND\tuserid = {$userID}\n\t\t\t\t\tAND permissions & B'" . $cfg['DPS']['fileW'] . "' = '" . $cfg['DPS']['fileW'] . "'";
if ($db->getOne($sql) > 0) {
$sql = "SELECT dirid FROM scriptsdir\n\t\t\t\t\tWHERE scriptid = {$scriptID}";
$dirID = $db->getOne($sql);
"SELECT count(*) FROM v_tree_dir\n\t\t\t\t\tWHERE id = {$dirID}\n\t\t\t\t\t\tAND\tuserid = {$userID}\n\t\t\t\t\t\tAND permissions & B'" . $cfg['DPS']['fileW'] . "' = '" . $cfg['DPS']['fileW'] . "'";
if ($db->getOne($sql) > 0) {
$flag = true;
}
}
if ($flag) {
$sql = "SELECT * FROM scripts WHERE id = {$scriptID}";
$script = $db->getRow($sql);
$sql = "SELECT count(*) FROM v_tree_script\n\t\t\t\t\tWHERE id = {$scriptID}\n\t\t\t\t\t\tAND\tuserid = {$userID}\n\t\t\t\t\t\tAND permissions & B'" . $cfg['DPS']['fileO'] . "' = '" . $cfg['DPS']['fileO'] . "'";
$check = $db->getOne($sql);
if ($check > 0) {
$this->assign('own', 't');
}
$this->assign('script', $script);
$this->assign('treeType', '');
} else {
$this->assign('permError', 't');
}
}
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:35,代码来源:DPSUserScriptMoveViewer.class.php
示例17: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$db = Database::getInstance($cfg['DPS']['dsn']);
//Sue playing now/next
$query = "SELECT audio.title AS title, audio.id AS id \n\t\t\tFROM sustschedule, audio \n\t\t\tWHERE sustschedule.audioid = audio.id \n\t\t\tORDER BY sustschedule.id asc";
$suePlaylist = $db->getAll($query);
foreach ($suePlaylist as $key => &$track) {
$sql = "SELECT DISTINCT artists.name AS name \n\t\t\t\tFROM artists, audioartists \n\t\t\t\tWHERE audioartists.audioid = " . $track['id'] . " \n\t\t\t\t\tAND audioartists.artistid = artists.id";
$artists = $db->getAll($sql);
foreach ($artists as $artist) {
$track['artist'] = $track['artist'] . $artist['name'] . " & ";
}
$track['artist'] = rtrim($track['artist'], " & ");
}
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$this->assign('Access_ViewSue', AuthUtil::getDetailedUserrealmAccess(array(58, 60, 3), $userID));
$this->assign('Access_EditSue', AuthUtil::getDetailedUserrealmAccess(array(58, 60, 66), $userID));
$this->assign('Access_SueStats', AuthUtil::getDetailedUserrealmAccess(array(58, 60, 2), $userID));
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
$this->assign('storedTracks', $systemTracks);
$this->assign('sueLastTrack', $suePlaylist[0]);
$this->assign('sueNextTrack', $suePlaylist[1]);
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:26,代码来源:DPSSueFrontViewer.class.php
示例18: action
protected function action()
{
$this->addParameter('opacity', '0');
$this->showContentOnly = TRUE;
$this->pageToView = "message";
parent::action();
}
开发者ID:raffaelemorgese,项目名称:levasoo,代码行数:7,代码来源:FancyMessage.php
示例19: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$loginTplID = MVCUtils::getTemplateID('login.tpl');
$this->assign('fwdtid', end($this->templateIDStack));
$this->assign('loginTplID', $loginTplID);
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:8,代码来源:LoginViewer.class.php
示例20: setupTemplate
protected function setupTemplate()
{
global $cfg;
parent::setupTemplate();
$auth = Auth::getInstance();
$userID = $auth->getUserID();
$this->assign('treeType', 'jacspmr');
$this->assign('Admin', AuthUtil::getDetailedUserrealmAccess(array(1), $userID));
}
开发者ID:radiowarwick,项目名称:digiplay_legacy,代码行数:9,代码来源:DPSUserFileViewer.class.php
注:本文中的Viewer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论