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


PHP sensitiveIO::request方法代码示例

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


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

示例1: define

define("MESSAGE_PAGE_NEW_GROUPS_DESC", 1457);
define("MESSAGE_PAGE_NEW_GROUPS_NO_RIGHTS_DESC", 1458);
define("MESSAGE_PAGE_NEW_GROUPS_NO_RIGHTS", 1459);
define("MESSAGE_PAGE_WEBSITES_DESC", 1460);
define("MESSAGE_PAGE_WEBSITES", 1461);
define("MESSAGE_PAGE_THUMBNAIL_DESC", 1462);
define("MESSAGE_PAGE_THUMBNAIL", 1463);
define("MESSAGE_PAGE_XML_DEFINITION_DESC", 1464);
define("MESSAGE_PAGE_XML_FILE", 1465);
define("MESSAGE_PAGE_XML_DEFINITION_USAGE_DESC", 1466);
define("MESSAGE_PAGE_DEFAULT_ROWS", 1467);
define("MESSAGE_PAGE_SAVE_AND_REGEN", 1548);
define("MESSAGE_PAGE_SAVE_AND_REGEN_DESC", 1550);
define("MESSAGE_PAGE_INCORRECT_FORM_VALUES", 682);
$winId = sensitiveIO::request('winId', '', 'templateWindow');
$templateId = sensitiveIO::request('template', 'sensitiveIO::isPositiveInteger', 'createTemplate');
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_RAW);
//This file is an admin file. Interface must be secure
$view->setSecure();
//CHECKS user has templates clearance
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDIT_TEMPLATES)) {
    //templates
    CMS_grandFather::raiseError('User has no rights template editions');
    $view->setActionMessage($cms_language->getMessage(MESSAGE_ERROR_NO_RIGHTS_FOR_TEMPLATES));
    $view->show();
}
//load template if any
if (sensitiveIO::isPositiveInteger($templateId)) {
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:template.php

示例2: array

    if ($field->getValue('searchable')) {
        $objectType = $field->getTypeObject();
        if (!method_exists($objectType, 'getListOfNamesForObject')) {
            $possibleTargets[] = $fieldID;
        }
    }
}
//get all search datas from requests
$keywords = sensitiveIO::request('items_' . $object->getID() . '_kwrds', '', '');
$keywordsOptions = sensitiveIO::request('items_' . $object->getID() . '_kwrds_options', array('any', 'all', 'phrase', 'beginswith'), 'any');
$keywordsTarget = sensitiveIO::request('kwrds_target_' . $object->getID(), $possibleTargets, -1);
$dateFrom = sensitiveIO::request('items_dtfrm', '', '');
$dateEnd = sensitiveIO::request('items_dtnd', '', '');
$sort = sensitiveIO::request('sort_' . $object->getID(), '', '');
$status = sensitiveIO::request('status_' . $object->getID(), '', '');
$direction = sensitiveIO::request('direction_' . $object->getID(), '', '');
// Set default session search options
CMS_session::setSessionVar('items_' . $object->getID() . '_kwrds', $keywords);
//CMS_session::setSessionVar('items_'.$object->getID().'_kwrds_options', $keywordsOptions);
CMS_session::setSessionVar('kwrds_target_' . $object->getID(), $keywordsTarget);
CMS_session::setSessionVar("items_dtfrm", $dateFrom);
CMS_session::setSessionVar("items_dtnd", $dateEnd);
CMS_session::setSessionVar('sort_' . $object->getID(), $sort);
CMS_session::setSessionVar('status_' . $object->getID(), $status);
CMS_session::setSessionVar('direction_' . $object->getID(), $direction);
//Add all subobjects to search if any
foreach ($objectFields as $fieldID => $field) {
    if (isset($fields[$fieldID])) {
        CMS_session::setSessionVar('items_' . $object->getID() . '_' . $fieldID, $fields[$fieldID]);
    }
}
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:search.php

示例3:

$filelabel = sensitiveIO::request('filelabel');
$filename = sensitiveIO::request('filename');
//block flash
$width = sensitiveIO::request('flashwidth');
$height = sensitiveIO::request('flashheight');
$name = sensitiveIO::request('flashname');
$version = sensitiveIO::request('flashversion');
$params = sensitiveIO::request('flashparams');
$flashvars = sensitiveIO::request('flashvars');
$attributes = sensitiveIO::request('flashattributes');
//block image
$imagelink = sensitiveIO::request('imagelink');
$imagelabel = sensitiveIO::request('imagelabel');
$zoomname = sensitiveIO::request('zoomname');
//block link
$linktext = sensitiveIO::request('link');
//unset requests to avoid them to have interaction with evaluated page codes
sensitiveIO::unsetRequest(array_keys($_REQUEST));
//try to instanciate the requested page
$cms_page = CMS_tree::getPageByID($currentPage);
//instanciate page and check if user has view rights on it
if (isset($cms_page) && $cms_page->hasError()) {
    CMS_grandFather::raiseError('Error on page : ' . $cms_page->getID());
    $view->show();
}
//check for edit rights for user
if (!$cms_user->hasPageClearance($cms_page->getID(), CLEARANCE_PAGE_EDIT)) {
    CMS_grandFather::raiseError('Error, user has no rights on page : ' . $cms_page->getID());
    $view->show();
}
//check for lock
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:page-content-controler.php

示例4: define

//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_JSON);
//This file is an admin file. Interface must be secure
$view->setSecure();
define("MESSAGE_ERROR_MODULE_RIGHTS", 570);
define("MESSAGE_CATEGORY_PROTECTED", 1730);
define("MESSAGE_CATEGORY_PROTECTED_DESC", 1731);
function checkCatId($catId)
{
    return io::strpos($catId, 'cat') === 0 && sensitiveIO::isPositiveInteger(io::substr($catId, 3));
}
$codename = sensitiveIO::request('module');
$rootId = io::substr(sensitiveIO::request('node', 'checkCatId', 'cat0'), 3);
$maxDepth = sensitiveIO::request('maxDepth', 'sensitiveIO::isPositiveInteger', 2);
if (!$codename) {
    CMS_grandFather::raiseError('Unknown module ...');
    $view->show();
}
//load module
$module = CMS_modulesCatalog::getByCodename($codename);
if (!$module) {
    CMS_grandFather::raiseError('Unknown module or module for codename : ' . $codename);
    $view->show();
}
//CHECKS user has module clearance
if (!$cms_user->hasModuleClearance($codename, CLEARANCE_MODULE_EDIT)) {
    CMS_grandFather::raiseError('User has no rights on module : ' . $codename);
    $view->setActionMessage($cms_language->getmessage(MESSAGE_ERROR_MODULE_RIGHTS, array($module->getLabel($cms_language))));
    $view->show();
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:modules-categories-nodes.php

示例5: define

define("MESSAGE_FLASHVAR_INFO", 544);
define("MESSAGE_FLASHVAR", 545);
define("MESSAGE_ATTRIBUT_INFO", 546);
define("MESSAGE_ATTRIBUT", 547);
define("MESSAGE_ERROR_FORMAT", 549);
define("MESSAGE_ADVANCED_PARAMETERS", 566);
define("MESSAGE_PAGE_INCORRECT_FORM_VALUES", 682);
$winId = sensitiveIO::request('winId', '', 'blockFlashWindow');
$currentPage = sensitiveIO::request('page', 'sensitiveIO::isPositiveInteger', CMS_session::getPageID());
$tpl = sensitiveIO::request('template', 'sensitiveIO::isPositiveInteger');
$rowId = sensitiveIO::request('rowType', 'sensitiveIO::isPositiveInteger');
$rowTag = sensitiveIO::request('rowTag');
$cs = sensitiveIO::request('cs');
$blockId = sensitiveIO::request('block');
$blockClass = sensitiveIO::request('blockClass');
$value = sensitiveIO::request('value');
//load page
$cms_page = CMS_tree::getPageByID($currentPage);
if ($cms_page->hasError()) {
    CMS_grandFather::raiseError('Selected page (' . $currentPage . ') has error ...');
    $view->show();
}
//check user rights
if (!$cms_user->hasPageClearance($cms_page->getID(), CLEARANCE_PAGE_EDIT)) {
    CMS_grandFather::raiseError('Error, user has no rights on page : ' . $cms_page->getID());
    $view->show();
}
//get block datas
if (class_exists($blockClass)) {
    $cms_block = new $blockClass();
    $cms_block->initializeFromBasicAttributes($blockId);
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:page-content-block-flash.php

示例6: dirname

require_once dirname(__FILE__) . '/../../cms_rc_admin.php';
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_JSON);
//This file is an admin file. Interface must be secure
$view->setSecure();
//get search vars
$search = sensitiveIO::request('search');
$letter = sensitiveIO::request('letter');
$sort = sensitiveIO::request('sort');
$dir = sensitiveIO::request('dir');
$start = sensitiveIO::request('start', 'sensitiveIO::isPositiveInteger', 0);
$limit = sensitiveIO::request('limit', 'sensitiveIO::isPositiveInteger', CMS_session::getRecordsPerPage());
$userId = sensitiveIO::request('userId', 'sensitiveIO::isPositiveInteger');
$filter = sensitiveIO::request('filter') ? true : false;
$groupsDatas = array();
$groupsDatas['groups'] = array();
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDITUSERS)) {
    CMS_grandFather::raiseError('User has no users management rights ...');
    $view->setContent($groupsDatas);
    $view->show();
}
//load user's groups if any
if ($userId) {
    $userGroups = CMS_profile_usersGroupsCatalog::getGroupsOfUser($userId, true);
} else {
    $userGroups = array();
}
if ($userId && $filter) {
    //search users
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:groups-datas.php

示例7: dirname

 *
 * @package Automne
 * @subpackage admin
 * @author Sébastien Pauchet <sebastien.pauchet@ws-interactive.fr>
 */
require_once dirname(__FILE__) . '/../../cms_rc_admin.php';
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_JSON);
//This file is an admin file. Interface must be secure
$view->setSecure();
$keyword = sensitiveIO::request('keyword');
$elements = sensitiveIO::request('elements', 'is_array', array());
$start = sensitiveIO::request('start', 'sensitiveIO::isPositiveInteger', 0);
$limit = sensitiveIO::request('limit', 'sensitiveIO::isPositiveInteger', 0);
$results = $scores = array();
//Users search
if (in_array('users', $elements)) {
    $usersResults = CMS_profile_usersCatalog::search($keyword, '', '', 'score', 'desc', 0, 0, false, false, $usersScore);
    if ($usersResults) {
        foreach ($usersResults as $resultId) {
            if (isset($usersScore[$resultId])) {
                $scores[$usersScore[$resultId]][] = array('users', $resultId);
            } else {
                $scores[0][] = array('users', $resultId);
            }
        }
        //pr('Users :');
        //pr($usersResults);
        //pr($rowsScore);
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:search-datas.php

示例8: define

define("MESSAGE_PAGE_DONT_FINALIZE_IF_ERRORS", 1178);
define("MESSAGE_PAGE_FIELD_CONFIRM", 1179);
define("MESSAGE_PAGE_RESUME_PATCH", 1192);
//CHECKS user has admin clearance
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDITVALIDATEALL)) {
    CMS_grandFather::raiseError('User has no administration rights');
    echo $cms_language->getMessage(MESSAGE_PAGE_NO_SERVER_RIGHTS);
    exit;
}
//ignore user abort to avoid interuption of process
@ignore_user_abort(true);
@set_time_limit(9000);
//Controler vars
$filename = sensitiveIO::request('filename');
$force = sensitiveIO::request('force');
$cms_action = sensitiveIO::request('cms_action');
$cms_message = '';
$content = '';
// +----------------------------------------------------------------------+
// | PATCH MANAGEMENT                                                     |
// +----------------------------------------------------------------------+
//verbose fonction, only send a message to user.
function verbose($text)
{
    global $content;
    $content .= $text . "<br />";
}
//report fonction, send a message to user and can stop process if it's an error.
function report($text, $isErrror = false)
{
    global $report, $force, $cms_language, $content;
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:server-update.php

示例9: array

$action = sensitiveIO::request('action', array('properties', 'definition', 'printcs', 'regenerate', 'copy'));
$templateId = sensitiveIO::request('templateId', '');
//Properties vars vars
$label = sensitiveIO::request('label');
$description = sensitiveIO::request('description');
$image = sensitiveIO::request('image');
$definitionfile = sensitiveIO::request('definitionfile');
$groups = sensitiveIO::request('groups', 'is_array', array());
$newgroups = sensitiveIO::request('newgroup') ? array_map('trim', preg_split("/[;,]+/", sensitiveIO::request('newgroup'))) : array();
$selectedWebsites = sensitiveIO::request('websites') ? explode(',', sensitiveIO::request('websites')) : array();
$nouserrights = sensitiveIO::request('nouserrights') ? true : false;
//definition
$definition = sensitiveIO::request('definition');
$regenerate = sensitiveIO::request('regenerate') ? true : false;
//printable CS
$printableCS = sensitiveIO::request('printableCS') ? explode(',', sensitiveIO::request('printableCS')) : array();
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_JSON);
//This file is an admin file. Interface must be secure
$view->setSecure();
//CHECKS user has templates clearance
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDIT_TEMPLATES)) {
    //templates
    CMS_grandFather::raiseError('User has no rights template editions');
    $view->setActionMessage($cms_language->getMessage(MESSAGE_ERROR_NO_RIGHTS_FOR_TEMPLATES));
    $view->show();
}
//load template if any
if (sensitiveIO::isPositiveInteger($templateId)) {
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:templates-controler.php

示例10: dirname

// +----------------------------------------------------------------------+
// | Author: Sébastien Pauchet <sebastien.pauchet@ws-interactive.fr>	  |
// +----------------------------------------------------------------------+
//
// $Id: module-parameters.php,v 1.6 2010/03/08 16:41:18 sebastien Exp $
/**
 * PHP page : Load module parameters window.
 * Used accross an Ajax request render module properties window.
 * 
 * @package Automne
 * @subpackage admin
 * @author Sébastien Pauchet <sebastien.pauchet@ws-interactive.fr>
 */
require_once dirname(__FILE__) . '/../../cms_rc_admin.php';
$codename = sensitiveIO::request('module', CMS_modulesCatalog::getAllCodenames());
$winId = sensitiveIO::request('winId', '', 'moduleParametersWindow');
define("MESSAGE_TOOLBAR_HELP", 1073);
define("MESSAGE_PAGE_SAVE", 952);
define("MESSAGE_PAGE_MODULE_PARAMS", 678);
define("MESSAGE_PAGE_AUTOMNE_PARAMS", 679);
define("MESSAGE_TOOLBAR_HELP_MESSAGE", 680);
define("MESSAGE_PAGE_UPDATE_PARAMS", 681);
define("MESSAGE_PAGE_FORM_INCORRECT", 682);
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_RAW);
//This file is an admin file. Interface must be secure
$view->setSecure();
//CHECKS
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDITVALIDATEALL)) {
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:module-parameters.php

示例11: define

define("MESSAGE_PAGE_ALL_FILES_SUPPORT", 559);
define("MESSAGE_PAGE_LIB_GD_VERIF", 560);
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_JSON);
//This file is an admin file. Interface must be secure
$view->setSecure();
$width = sensitiveIO::request('width', 'sensitiveIO::isPositiveInteger', 0);
$height = sensitiveIO::request('height', 'sensitiveIO::isPositiveInteger', 0);
$cropTop = sensitiveIO::request('cropTop', 'sensitiveIO::isPositiveInteger', 0);
$cropBottom = sensitiveIO::request('cropBottom', 'sensitiveIO::isPositiveInteger', 0);
$cropLeft = sensitiveIO::request('cropLeft', 'sensitiveIO::isPositiveInteger', 0);
$cropRight = sensitiveIO::request('cropRight', 'sensitiveIO::isPositiveInteger', 0);
$autocrop = sensitiveIO::request('autocrop') ? true : false;
$image = sensitiveIO::request('image');
$return = array('error' => '', 'filepath' => '', 'filename' => '');
$image = new CMS_image($image, CMS_file::WEBROOT);
//Check image
if (!$image->exists()) {
    CMS_grandFather::raiseError('Can\'t find queried image : ' . $image->getFilename());
    $return['error'] = $cms_language->getJsMessage(MESSAGE_PAGE_NO_IMG);
    $view->setContent($return);
    $view->show();
}
if (!function_exists('imagecreatefromgif')) {
    CMS_grandFather::raiseError('Can\'t find imagecreatefromgif, please install GD library.');
    $return['error'] = $cms_language->getJsMessage(MESSAGE_PAGE_GIF_SUPPORT);
    $view->setContent($return);
    $view->show();
}
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:image-controler.php

示例12: array

//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_RAW);
//This file is an admin file. Interface must be secure
$view->setSecure();
$pageUrl = sensitiveIO::request('pageUrl');
$pageId = sensitiveIO::request('pageId', 'sensitiveIO::isPositiveInteger');
$from = sensitiveIO::request('from', 'sensitiveIO::isPositiveInteger');
$fromtab = sensitiveIO::request('fromTab', array('edit', 'edited', 'public'));
$tab = sensitiveIO::request('tab', array('edit', 'edited', 'public'));
$followRedirect = sensitiveIO::request('followRedirect') ? true : false;
$regenerate = sensitiveIO::request('regenerate') ? true : false;
$reload = sensitiveIO::request('reload') ? true : false;
$noreload = sensitiveIO::request('noreload') ? true : false;
$unlock = sensitiveIO::request('unlock') ? true : false;
//Default tab to open
if ($tab && !$fromtab) {
    $fromtab = $tab;
} elseif (!$fromtab) {
    $fromtab = 'public';
}
if (!$pageUrl && !$pageId && !$from) {
    CMS_grandFather::raiseError('Missing page parameter ...');
    $view->show();
} elseif (!$pageUrl && !$pageId) {
    $pageId = $from;
}
$jscontent = '';
$isAutomne = $querystring = false;
//current http host
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:page-infos.php

示例13: array

$description = sensitiveIO::request('description');
//alerts
$alerts = sensitiveIO::request('alerts');
//users
$userId = sensitiveIO::request('userId', 'sensitiveIO::isPositiveInteger');
//modules
$moduleCodename = sensitiveIO::request('module', CMS_modulesCatalog::getAllCodenames());
$access = (int) sensitiveIO::request('access');
$validation = (int) sensitiveIO::request('validation');
$templates = sensitiveIO::request('templates', '', array());
$rows = sensitiveIO::request('rows', '', array());
//categories rights
$rights = sensitiveIO::request('rights');
$catIds = sensitiveIO::request('catIds');
//admin rights
$admin = sensitiveIO::request('admin', '', array());
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_JSON);
//This file is an admin file. Interface must be secure
$view->setSecure();
//check user rights
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDITUSERS)) {
    CMS_grandFather::raiseError('User has no users management rights ...');
    $view->show();
}
//load user if any
if ($groupId) {
    $group = CMS_profile_usersGroupsCatalog::getByID($groupId);
    if (!$group || $group->hasError()) {
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:groups-controler.php

示例14: dirname

 * PHP page : Load page users-groups search window.
 * Used accross an Ajax request. Render users-groups search.
 * 
 * @package Automne
 * @subpackage admin
 * @author Sébastien Pauchet <sebastien.pauchet@ws-interactive.fr>
 */
require_once dirname(__FILE__) . '/../../cms_rc_admin.php';
define("MESSAGE_TOOLBAR_HELP", 1073);
define("MESSAGE_PAGE_STANDARD_MODULE_LABEL", 213);
define("MESSAGE_PAGE_USER_GROUP_PROFILE", 408);
define("MESSAGE_PAGE_SEARCH_USER_GROUP_INFO", 409);
define("MESSAGE_PAGE_USERS_LABEL", 926);
define("MESSAGE_PAGE_GROUPS_LABEL", 837);
$winId = sensitiveIO::request('winId', '', 'usersGroupsWindow');
$type = sensitiveIO::request('type') && in_array($_REQUEST['type'], array('users', 'groups')) ? $_REQUEST['type'] . 'Panel' : 'usersPanel';
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_RAW);
//This file is an admin file. Interface must be secure
$view->setSecure();
//check user rights
if (!$cms_user->hasAdminClearance(CLEARANCE_ADMINISTRATION_EDITUSERS)) {
    CMS_grandFather::raiseError('User has no users management rights ...');
    $view->show();
}
$jscontent = <<<END
\tvar usersGroupsWindow = Ext.getCmp('{$winId}');
\t//set window title
\tusersGroupsWindow.setTitle('{$cms_language->getJsMessage(MESSAGE_PAGE_USER_GROUP_PROFILE)}');
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:users-groups.php

示例15: dirname

 * @author Sébastien Pauchet <sebastien.pauchet@ws-interactive.fr>
 */
require_once dirname(__FILE__) . '/../../../../cms_rc_admin.php';
define("MESSAGE_TOOLBAR_HELP", 1073);
define("MESSAGE_PAGE_ERROR_NO_PLUGIN", 280);
define("MESSAGE_PAGE_TAB_DISABLED_SELECT_TEXT", 523);
define("MESSAGE_PAGE_TAB_DISABLED_NO_SELECT_TEXT", 524);
//load interface instance
$view = CMS_view::getInstance();
//set default display mode for this page
$view->setDisplayMode(CMS_view::SHOW_RAW);
//This file is an admin file. Interface must be secure
$view->setSecure();
$winId = sensitiveIO::request('winId');
$id = sensitiveIO::request('id');
$content = sensitiveIO::request('content');
//get ids from wysiwyg
if ($id) {
    $ids = explode('-', $id);
    $selectedPluginID = (int) $ids[1];
    $selectedItem = (int) $ids[2];
} else {
    $selectedPluginID = $selectedItem = 0;
}
//Select WYSIWYG Plugin
$pluginDefinitions = CMS_poly_object_catalog::getAllPluginDefinitionsForObject();
//check for user rights
$availablePlugin = array();
$availablePluginCount = 0;
if (sizeof($pluginDefinitions)) {
    foreach ($pluginDefinitions as $id => $pluginDefinition) {
开发者ID:davidmottet,项目名称:automne,代码行数:31,代码来源:ckplugin.php


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