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


PHP CIntranetUtils::LoadCustomMessages方法代码示例

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


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

示例1: define

define('BX_INTRANET_SP_LOCK_TIME', 300);
define('BX_INTRANET_SP_QUEUE_COUNT', 5);
define('BX_INTRANET_SP_QUEUE_COUNT_MANUAL', 50);
define('BX_INTRANET_SP_LOG_COUNT', 3);
define('BX_INTRANET_SP_LOG_COUNT_MANUAL', 30);
define('BX_INTRANET_SP_NUM_ROWS_AUTO', 50);
define('BX_INTRANET_SP_NUM_ROWS_MANUAL', 100);
define('BX_INTRANET_SP_UF_NAME', 'UF_SP_ID');
define('SONET_INTRANET_NEW_USER_ENTITY', 'IN');
define('SONET_INTRANET_NEW_USER_EVENT_ID', 'intranet_new_user');
define('SONET_INTRANET_NEW_USER_COMMENT_EVENT_ID', 'intranet_new_user_comment');
IncludeModuleLangFile(__FILE__);
global $DBType;
CModule::AddAutoloadClasses("intranet", array("CIntranetUtils" => "classes/general/utils.php", "CIntranetSearch" => "tools/search.php", "CIntranetSearchConverter" => "tools/search.php", "CIntranetSearchConverters" => "tools/search.php", "CIntranetNotify" => "classes/general/notify.php", "CIntranetTasks" => "classes/general/tasks.php", "CEventCalendar" => "classes/general/event_calendar.php", "CIntranetCalendarWS" => "classes/general/ws_calendar.php", "CIntranetContactsWS" => "classes/general/ws_contacts.php", "CIntranetTasksWS" => "classes/general/ws_tasks.php", "CIntranetRestService" => "classes/general/rest.php", "CIntranetToolbar" => "classes/general/toolbar.php", "CIntranetTasksDocument" => "classes/general/tasks_document.php", "CIntranetSharepoint" => "classes/" . $DBType . "/sharepoint.php", "CIntranetSharepointQueue" => "classes/" . $DBType . "/sharepoint_queue.php", "CIntranetSharepointLog" => "classes/" . $DBType . "/sharepoint_log.php", "CIntranetAuthProvider" => "classes/general/authproviders.php", "CRatingRulesIntranet" => "classes/general/rating_rules.php", "CRatingsComponentsIntranet" => "classes/" . $DBType . "/ratings_components.php", "CIntranetPlanner" => "classes/general/planner.php", "CIntranetInviteDialog" => "classes/general/invite_dialog.php"));
//loads custom language messages for organization types
CIntranetUtils::LoadCustomMessages();
$GLOBALS['INTRANET_TOOLBAR'] = new CIntranetToolbar();
CJSCore::RegisterExt('intranet_structure', array('js' => '/bitrix/js/intranet/structure.js', 'lang' => '/bitrix/modules/intranet/lang/' . LANGUAGE_ID . '/js_core_intranet_structure.php', 'rel' => array('ajax', 'popup')));
CJSCore::RegisterExt('planner', array('js' => '/bitrix/js/intranet/core_planner.js', 'css' => '/bitrix/js/intranet/core_planner.css', 'lang' => '/bitrix/modules/intranet/lang/' . LANGUAGE_ID . '/js_core_intranet_planner.php', 'rel' => array('date')));
include_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/intranet/properties.php";
/*patchlimitationmutatormark1*/
class CIntranetEventHandlers
{
    public static function SPRegisterUpdatedItem($arFields)
    {
        if (CBXFeatures::IsFeatureEnabled('intranet_sharepoint')) {
            if (CIntranetSharepoint::$bUpdateInProgress) {
                return;
            }
            $dbRes = CIntranetSharepoint::GetByID($arFields['IBLOCK_ID']);
            if ($arRes = $dbRes->Fetch()) {
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:include.php


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