當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。