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


PHP Loader::registerAutoLoadClasses方法代码示例

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


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

示例1: initClassesList

 public static function initClassesList()
 {
     if (static::$classes !== null) {
         return true;
     }
     $classes = array('\\Bitrix\\Sale\\Delivery\\ExtraServices\\Enum' => 'lib/delivery/extra_services/enum.php', '\\Bitrix\\Sale\\Delivery\\ExtraServices\\Store' => 'lib/delivery/extra_services/store.php', '\\Bitrix\\Sale\\Delivery\\ExtraServices\\String' => 'lib/delivery/extra_services/string.php', '\\Bitrix\\Sale\\Delivery\\ExtraServices\\Checkbox' => 'lib/delivery/extra_services/checkbox.php');
     \Bitrix\Main\Loader::registerAutoLoadClasses('sale', $classes);
     unset($classes['\\Bitrix\\Sale\\Delivery\\ExtraServices\\Store']);
     static::$classes = array_keys($classes);
     foreach (GetModuleEvents("sale", "onSaleDeliveryExtraServicesClassesCustom", true) as $arHandler) {
         $classes = ExecuteModuleEventEx($arHandler);
         if (!is_array($classes)) {
             throw new SystemException('Handler of onSaleDeliveryExtraServicesClassesCustom must return Bitrix\\Sale\\Delivery\\ExtraServices\\Base[]');
         }
         foreach ($classes as $class) {
             if (!class_exists($class)) {
                 throw new SystemException('onSaleDeliveryExtraServicesClassesCustom class doesn\'t exist: "' . $class . '"');
             }
             if (in_array($class, static::$classes)) {
                 throw new SystemException('onSaleDeliveryExtraServicesClassesCustom class with such name alredy exists: "' . $class . '"');
             }
             static::$classes[] = $class;
         }
     }
     return true;
 }
开发者ID:Satariall,项目名称:izurit,代码行数:26,代码来源:manager.php

示例2: initClassesList

 public static function initClassesList()
 {
     if (static::$classes !== null) {
         return true;
     }
     $classes = array('\\Bitrix\\Sale\\Delivery\\ExtraServices\\Enum' => 'lib/delivery/extra_services/enum.php', '\\Bitrix\\Sale\\Delivery\\ExtraServices\\Store' => 'lib/delivery/extra_services/store.php', '\\Bitrix\\Sale\\Delivery\\ExtraServices\\String' => 'lib/delivery/extra_services/string.php', '\\Bitrix\\Sale\\Delivery\\ExtraServices\\Checkbox' => 'lib/delivery/extra_services/checkbox.php');
     \Bitrix\Main\Loader::registerAutoLoadClasses('sale', $classes);
     unset($classes['\\Bitrix\\Sale\\Delivery\\ExtraServices\\Store']);
     static::$classes = array_keys($classes);
     $event = new Event('sale', 'onSaleDeliveryExtraServicesClassNamesBuildList');
     $event->send();
     $resultList = $event->getResults();
     if (is_array($resultList) && !empty($resultList)) {
         $customClasses = array();
         foreach ($resultList as $eventResult) {
             /** @var  EventResult $eventResult*/
             if ($eventResult->getType() != EventResult::SUCCESS) {
                 throw new SystemException("Can't add custom tracking class successfully");
             }
             $params = $eventResult->getParameters();
             if (!empty($params) && is_array($params)) {
                 $customClasses = array_merge($customClasses, $params);
             }
         }
         if (!empty($customClasses)) {
             \Bitrix\Main\Loader::registerAutoLoadClasses(null, $customClasses);
             $classes = array_merge($customClasses, $classes);
         }
     }
     static::$classes = array_merge(array_keys($classes), static::$classes);
     return static::$classes;
 }
开发者ID:webgksupport,项目名称:alpina,代码行数:32,代码来源:manager.php

示例3: AddAutoloadClasses

 public static function AddAutoloadClasses($module, $arParams = array())
 {
     if ($module === '') {
         $module = null;
     }
     \Bitrix\Main\Loader::registerAutoLoadClasses($module, $arParams);
     return true;
 }
开发者ID:Satariall,项目名称:izurit,代码行数:8,代码来源:module.php

示例4: die

<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true)
{
    die();
}

\Bitrix\Main\Loader::registerAutoLoadClasses('ugraweb.iiko', array(
    // tables
    '\Iiko\DB\ModifiersTable'        => 'lib/mysql/modifiers.php',
    '\Iiko\DB\ElementModifiersTable' => 'lib/mysql/modifiers.php',
    '\Iiko\DB\HashTable'             => 'lib/mysql/main.php',
    '\Iiko\DB\OrderTable'            => 'lib/mysql/order.php',

    // classes
    '\Iiko\App'                      => 'lib/main.php',
    '\Iiko\Event'                    => 'lib/main.php',
    '\Iiko\Connect'                  => 'lib/connect.php',

    '\Iiko\Import'                   => 'lib/import.php',
    '\Iiko\Export'                   => 'lib/export.php',
    '\Iiko\OrderProvider'            => 'lib/export.php',
    '\Iiko\IExportOrder'             => 'lib/export.php',

    '\Iiko\Modifiers'                => 'lib/modifiers.php',
    '\Iiko\ElementModifiers'         => 'lib/modifiers.php',

    '\Iiko\Config\Props'             => 'lib/option.php',
    '\Iiko\Config\Option'            => 'lib/option.php'
));
开发者ID:phwb,项目名称:ugraweb.iiko,代码行数:29,代码来源:include.php

示例5: initRestrictionClassNames

 protected static function initRestrictionClassNames()
 {
     if (self::$restrictionClassNames !== null) {
         return true;
     }
     $result = array('\\Bitrix\\Sale\\Delivery\\Restrictions\\BySite' => 'lib/delivery/restrictions/bysite.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByPrice' => 'lib/delivery/restrictions/byprice.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByWeight' => 'lib/delivery/restrictions/byweight.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByMaxSize' => 'lib/delivery/restrictions/bymaxsize.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByLocation' => 'lib/delivery/restrictions/bylocation.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByPaySystem' => 'lib/delivery/restrictions/bypaysystem.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByDimensions' => 'lib/delivery/restrictions/bydimensions.php', '\\Bitrix\\Sale\\Delivery\\Restrictions\\ByPublicMode' => 'lib/delivery/restrictions/bypublicmode.php');
     foreach (GetModuleEvents("sale", "onSaleDeliveryRestrictionsClassNamesBuildList", true) as $handler) {
         $classes = ExecuteModuleEventEx($handler);
         if (!is_array($classes)) {
             throw new SystemException('Event services onSaleDeliveryRestrictionsClassNamesBuildList must return an array!)');
         }
         if (!empty($classes)) {
             $result = array_merge($result, $classes);
         }
     }
     \Bitrix\Main\Loader::registerAutoLoadClasses('sale', $result);
     self::$restrictionClassNames = array_keys($result);
     return true;
 }
开发者ID:Satariall,项目名称:izurit,代码行数:19,代码来源:manager.php

示例6: array

<?php

\Bitrix\Main\Loader::registerAutoLoadClasses("scale", array("Bitrix\\Scale\\Logger" => "lib/logger.php", "Bitrix\\Scale\\ServerBxInfoException" => "lib/exceptions.php", "Bitrix\\Scale\\NeedMoreUserInfoException" => "lib/exceptions.php"));
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:3,代码来源:include.php

示例7: array

<?php

global $DB, $APPLICATION, $MESS, $DBType;
\Bitrix\Main\Loader::registerAutoLoadClasses("seo", array('CSeoUtils' => 'classes/general/seo_utils.php', 'CSeoKeywords' => 'classes/general/seo_keywords.php', 'CSeoPageChecker' => 'classes/general/seo_page_checker.php'));
if (!defined('SEO_COUNTERS_DEFAULT')) {
    if (COption::GetOptionString('main', 'vendor', '') == '1c_bitrix') {
        define('SEO_COUNTERS_DEFAULT', "<img src=\"http://yandex.ru/cycounter?#DOMAIN#\" width=\"88\" height=\"31\" border=\"0\" />");
    } else {
        define('SEO_COUNTERS_DEFAULT', '<a href="http://www.whats-my-pagerank.com" target="_blank"><img src = "http://www.whats-my-pagerank.com/pagerank2.php" alt="PR Checker" border="0" /></a>');
    }
}
IncludeModuleLangFile(__FILE__);
class CSeoEventHandlers
{
    function SeoOnPanelCreate()
    {
        global $APPLICATION, $USER;
        if (!$USER->CanDoOperation('seo_tools')) {
            return false;
        }
        if (isset($_SERVER["REAL_FILE_PATH"]) && $_SERVER["REAL_FILE_PATH"] != "") {
            $currentDirPath = dirname($_SERVER["REAL_FILE_PATH"]);
            $currentFilePath = $_SERVER["REAL_FILE_PATH"];
        } else {
            $currentDirPath = $APPLICATION->GetCurDir();
            $currentFilePath = $APPLICATION->GetCurPage(true);
        }
        $encCurrentDirPath = urlencode($currentDirPath);
        $encCurrentFilePath = urlencode($currentFilePath);
        $encRequestUri = urlencode($_SERVER["REQUEST_URI"]);
        $encTitleChangerLink = '';
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:include.php

示例8: Init

<?php

/********************************************************************************
 * Delivery handler  http://pecom.ru/
 * https://kabinet.pecom.ru/api/v1/
 *******************************************************************************/
use Bitrix\Main\Loader;
Loader::includeModule("sale");
Loader::registerAutoLoadClasses('sale', array('Bitrix\\Sale\\Delivery\\Pecom\\Request' => 'ru/delivery/pecom/request.php', 'Bitrix\\Sale\\Delivery\\Pecom\\Adapter' => 'ru/delivery/pecom/adapter.php', 'Bitrix\\Sale\\Delivery\\Pecom\\Calculator' => 'ru/delivery/pecom/calculator.php'));
use Bitrix\Sale\Delivery\Pecom\Adapter;
use Bitrix\Sale\Delivery\Pecom\Request;
use Bitrix\Sale\Delivery\Pecom\Calculator;
IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"] . '/bitrix/modules/sale/delivery/delivery_pecom.php');
class CDeliveryPecom
{
    public static $EXTRA_DEMENSIONS_WEIGHT = 1000;
    // (kg)
    public static $EXTRA_DIMENSIONS_SIZE = 5;
    // (m)
    public static $PAYER_SHOP = "1";
    public static $PAYER_BUYER = "2";
    public static function Init()
    {
        return array('SID' => 'pecom', 'NAME' => GetMessage('SALE_DH_PECOM_NAME'), 'DESCRIPTION' => GetMessage('SALE_DH_PECOM_DESCRIPTION') . ' <a href="http://pecom.ru">http://pecom.ru</a>', 'DESCRIPTION_INNER' => GetMessage('SALE_DH_PECOM_DESCRIPTION') . ' <a href="http://pecom.ru">http://pecom.ru</a>', 'BASE_CURRENCY' => 'RUB', 'HANDLER' => __FILE__, 'DBGETSETTINGS' => array('CDeliveryPecom', 'getSettings'), 'DBSETSETTINGS' => array('CDeliveryPecom', 'setSettings'), 'GETCONFIG' => array('CDeliveryPecom', 'getConfig'), 'GETFEATURES' => array('CDeliveryPecom', 'getFeatures'), 'COMPABILITY' => array('CDeliveryPecom', 'compability'), 'CALCULATOR' => array('CDeliveryPecom', 'calculate'), 'GETEXTRAINFOPARAMS' => array('CDeliveryPecom', 'getExtraInfoParams'), 'GETORDERSACTIONSLIST' => array('CDeliveryPecom', 'getActionsList'), 'EXECUTEACTION' => array('CDeliveryPecom', 'executeAction'), "PROFILES" => array("auto" => array("TITLE" => GetMessage("SALE_DH_PECOM_AUTO_TITLE"), "DESCRIPTION" => GetMessage("SALE_DH_PECOM_AUTO_DESCR"), 'RESTRICTIONS_WEIGHT' => array(0, 0), 'RESTRICTIONS_SUM' => array(0), 'TAX_RATE' => 0, 'RESTRICTIONS_DIMENSIONS' => array("425", "265", "380")), "avia" => array("TITLE" => GetMessage("SALE_DH_PECOM_AVIA_TITLE"), "DESCRIPTION" => GetMessage("SALE_DH_PECOM_AVIA_DESCR"), 'RESTRICTIONS_WEIGHT' => array(0, 0), 'RESTRICTIONS_SUM' => array(0), 'TAX_RATE' => 0, 'RESTRICTIONS_DIMENSIONS' => array("425", "265", "380"))));
    }
    public static function getExtraInfoParams($arOrder, $arConfig, $profileId, $siteId)
    {
        $result = array();
        $locationsTo = Adapter::mapLocation($arOrder["LOCATION_TO"]);
        if (count($locationsTo) > 1) {
            $locValues = array();
开发者ID:rasuldev,项目名称:torino,代码行数:31,代码来源:delivery_pecom.php

示例9: array

<?php

/*
 * This file is part of the Studio Fact package.
 *
 * (c) Kulichkin Denis (onEXHovia) <onexhovia@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
use Bitrix\Main\Loader;
require_once __DIR__ . '/lib/DebugFunctions.php';
Loader::registerAutoLoadClasses('citfact.debugbar', array('Citfact\\DebugBar\\DataCollector\\UrlRewriterDataCollector' => 'lib/Citfact/DebugBar/DataCollector/UrlRewriterDataCollector.php', 'Citfact\\DebugBar\\Debug' => 'lib/Citfact/DebugBar/Debug.php', 'Citfact\\DebugBar\\DebugEvent' => 'lib/Citfact/DebugBar/DebugEvent.php'));
开发者ID:ASDAFF,项目名称:citfact.debugbar,代码行数:13,代码来源:include.php

示例10: array

    {
        self::Initialize();
        $_1477050387 = array();
        foreach (self::$_1876111868 as $_1542032423 => $_1354309565) {
            $_1477050387[$_1542032423] = array(___253155201(78) => $GLOBALS['____891427501'][37]($_1542032423, self::$_1207514155) ? ___253155201(79) : ___253155201(80), ___253155201(81) => ___253155201(82), ___253155201(83) => array(), ___253155201(84) => false);
            foreach ($_1354309565 as $_1571962491) {
                $_1477050387[$_1542032423][___253155201(85)][$_1571962491] = $_1477050387[$_1542032423] == ___253155201(86);
            }
        }
        return $_1477050387;
    }
}
$GLOBALS['____891427501'][38](___253155201(87), ___253155201(88));
$GLOBALS[___253155201(89)] = array();
require_once $_SERVER[___253155201(90)] . BX_ROOT . ___253155201(91);
\Bitrix\Main\Loader::registerAutoLoadClasses(___253155201(92), array(___253155201(93) => ___253155201(94), ___253155201(95) => ___253155201(96), ___253155201(97) => ___253155201(98), ___253155201(99) => ___253155201(100), ___253155201(101) => ___253155201(102), ___253155201(103) => ___253155201(104), ___253155201(105) => ___253155201(106), ___253155201(107) => ___253155201(108), ___253155201(109) => ___253155201(110) . $DBType . ___253155201(111), ___253155201(112) => ___253155201(113), ___253155201(114) => ___253155201(115), ___253155201(116) => ___253155201(117), ___253155201(118) => ___253155201(119), ___253155201(120) => ___253155201(121), ___253155201(122) => ___253155201(123), ___253155201(124) => ___253155201(125), ___253155201(126) => ___253155201(127) . $DBType . ___253155201(128), ___253155201(129) => ___253155201(130), ___253155201(131) => ___253155201(132) . $DBType . ___253155201(133), ___253155201(134) => ___253155201(135), ___253155201(136) => ___253155201(137), ___253155201(138) => ___253155201(139), ___253155201(140) => ___253155201(141), ___253155201(142) => ___253155201(143) . $DBType . ___253155201(144), ___253155201(145) => ___253155201(146) . $DBType . ___253155201(147), ___253155201(148) => ___253155201(149), ___253155201(150) => ___253155201(151) . $DBType . ___253155201(152), ___253155201(153) => ___253155201(154), ___253155201(155) => ___253155201(156), ___253155201(157) => ___253155201(158), ___253155201(159) => ___253155201(160), ___253155201(161) => ___253155201(162), ___253155201(163) => ___253155201(164), ___253155201(165) => ___253155201(166), ___253155201(167) => ___253155201(168), ___253155201(169) => ___253155201(170), ___253155201(171) => ___253155201(172), ___253155201(173) => ___253155201(174), ___253155201(175) => ___253155201(176), ___253155201(177) => ___253155201(178) . $DBType . ___253155201(179), ___253155201(180) => ___253155201(181), ___253155201(182) => ___253155201(183), ___253155201(184) => ___253155201(185), ___253155201(186) => ___253155201(187), ___253155201(188) => ___253155201(189), ___253155201(190) => ___253155201(191), ___253155201(192) => ___253155201(193), ___253155201(194) => ___253155201(195), ___253155201(196) => ___253155201(197), ___253155201(198) => ___253155201(199), ___253155201(200) => ___253155201(201) . $DBType . ___253155201(202), ___253155201(203) => ___253155201(204), ___253155201(205) => ___253155201(206), ___253155201(207) => ___253155201(208), ___253155201(209) => ___253155201(210), ___253155201(211) => ___253155201(212), ___253155201(213) => ___253155201(214), ___253155201(215) => ___253155201(216), ___253155201(217) => ___253155201(218), ___253155201(219) => ___253155201(220), ___253155201(221) => ___253155201(222), ___253155201(223) => ___253155201(224)));
require_once $_SERVER[___253155201(225)] . BX_ROOT . ___253155201(226) . $DBType . ___253155201(227);
require_once $_SERVER[___253155201(228)] . BX_ROOT . ___253155201(229) . $DBType . ___253155201(230);
require_once $_SERVER[___253155201(231)] . BX_ROOT . ___253155201(232) . $DBType . ___253155201(233);
require_once $_SERVER[___253155201(234)] . BX_ROOT . ___253155201(235);
$GLOBALS['_____451545984'][13](___253155201(236), ___253155201(237), array(___253155201(238), ___253155201(239)));
require_once $_SERVER[___253155201(240)] . BX_ROOT . ___253155201(241) . $DBType . ___253155201(242);
if ($GLOBALS['____891427501'][39]($_1450254723 = $_SERVER[___253155201(243)] . BX_ROOT . ___253155201(244))) {
    $US_HOST_PROCESS_MAIN = False;
    include $_1450254723;
}
$GLOBALS[___253155201(245)]->AddJSKernelInfo(___253155201(246), array(___253155201(247), ___253155201(248), ___253155201(249), ___253155201(250), ___253155201(251), ___253155201(252), ___253155201(253), ___253155201(254), ___253155201(255), ___253155201(256), ___253155201(257), ___253155201(258), ___253155201(259), ___253155201(260), ___253155201(261), ___253155201(262), ___253155201(263)));
$GLOBALS[___253155201(264)]->AddCSSKernelInfo(___253155201(265), array(___253155201(266), ___253155201(267), ___253155201(268), ___253155201(269)));
$GLOBALS[___253155201(270)]->AddJSKernelInfo(___253155201(271), array(___253155201(272), ___253155201(273), ___253155201(274), ___253155201(275)));
if ($GLOBALS['____891427501'][40]($_1450254723 = $_SERVER[___253155201(276)] . ___253155201(277))) {
    include_once $_1450254723;
开发者ID:akniyev,项目名称:arteva.ru,代码行数:31,代码来源:include.php

示例11: define

<?php

define('UM_BM_MODULE_NAME', 'um.bixmigs');
define('UM_BM_MGR_PATH', '/local/modules/' . UM_BM_MODULE_NAME . '/migrations/');
define('UM_BM_MGR_FULL_PATH', $_SERVER['DOCUMENT_ROOT'] . '/local/modules/' . UM_BM_MODULE_NAME . '/migrations/');
define('UM_BM_TABLE_NAME', 'um_bixmigs_migrations');
$autoloaded_classes = array('\\Um\\BixMigAbstract' => '/lib/bxmg_abstract.php', '\\Um\\BixMigBase' => '/lib/bxmg_base.php', '\\Um\\BixMigDispatcher' => '/lib/bxmg_dispatcher.php', '\\Um\\BixMigTable' => '/lib/bxmg_mig_entity.php');
if (class_exists('\\Bitrix\\Main\\Loader')) {
    \Bitrix\Main\Loader::registerAutoLoadClasses(UM_BM_MODULE_NAME, $autoloaded_classes);
} else {
    \CModule::AddAutoloadClasses(UM_BM_MODULE_NAME, $autoloaded_classes);
}
开发者ID:u-mulder,项目名称:bixmigs,代码行数:12,代码来源:include.php

示例12: array

<?php

use Bitrix\Main\Loader;
Loader::registerAutoLoadClasses('digitalwand.admin_helper', array('DigitalWand\\AdminHelper\\EventHandlers' => 'lib/EventHandlers.php', 'DigitalWand\\AdminHelper\\Helper\\Exception' => 'lib/helper/Exception.php', 'DigitalWand\\AdminHelper\\Helper\\AdminInterface' => 'lib/helper/AdminInterface.php', 'DigitalWand\\AdminHelper\\Helper\\AdminBaseHelper' => 'lib/helper/AdminBaseHelper.php', 'DigitalWand\\AdminHelper\\Helper\\AdminListHelper' => 'lib/helper/AdminListHelper.php', 'DigitalWand\\AdminHelper\\Helper\\AdminSectionListHelper' => 'lib/helper/AdminSectionListHelper.php', 'DigitalWand\\AdminHelper\\Helper\\AdminEditHelper' => 'lib/helper/AdminEditHelper.php', 'DigitalWand\\AdminHelper\\Helper\\AdminSectionEditHelper' => 'lib/helper/AdminSectionEditHelper.php', 'DigitalWand\\AdminHelper\\EntityManager' => 'lib/EntityManager.php', 'DigitalWand\\AdminHelper\\Widget\\HelperWidget' => 'lib/widget/HelperWidget.php', 'DigitalWand\\AdminHelper\\Widget\\CheckboxWidget' => 'lib/widget/CheckboxWidget.php', 'DigitalWand\\AdminHelper\\Widget\\ComboBoxWidget' => 'lib/widget/ComboBoxWidget.php', 'DigitalWand\\AdminHelper\\Widget\\StringWidget' => 'lib/widget/StringWidget.php', 'DigitalWand\\AdminHelper\\Widget\\NumberWidget' => 'lib/widget/NumberWidget.php', 'DigitalWand\\AdminHelper\\Widget\\FileWidget' => 'lib/widget/FileWidget.php', 'DigitalWand\\AdminHelper\\Widget\\TextAreaWidget' => 'lib/widget/TextAreaWidget.php', 'DigitalWand\\AdminHelper\\Widget\\HLIBlockFieldWidget' => 'lib/widget/HLIBlockFieldWidget.php', 'DigitalWand\\AdminHelper\\Widget\\DateTimeWidget' => 'lib/widget/DateTimeWidget.php', 'DigitalWand\\AdminHelper\\Widget\\IblockElementWidget' => 'lib/widget/IblockElementWidget.php', 'DigitalWand\\AdminHelper\\Widget\\UrlWidget' => 'lib/widget/UrlWidget.php', 'DigitalWand\\AdminHelper\\Widget\\VisualEditorWidget' => 'lib/widget/VisualEditorWidget.php', 'DigitalWand\\AdminHelper\\Widget\\UserWidget' => 'lib/widget/UserWidget.php', 'DigitalWand\\AdminHelper\\Widget\\OrmElementWidget' => 'lib/widget/OrmElementWidget.php'));
开发者ID:s-sementsov,项目名称:digitalwand.admin_helper,代码行数:4,代码来源:include.php

示例13: defined

require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/include.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/prolog.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/general/admin_tool.php";
use Bitrix\Sale\Location;
$crmMode = defined("BX_PUBLIC_MODE") && BX_PUBLIC_MODE && isset($_REQUEST["CRM_MANAGER_USER_ID"]);
if ($crmMode) {
    CUtil::DecodeUriComponent($_REQUEST);
    CUtil::DecodeUriComponent($_POST);
    echo '<link rel="stylesheet" type="text/css" href="/bitrix/themes/.default/sale.css" />';
}
$saleModulePermissions = $APPLICATION->GetGroupRight("sale");
if ($saleModulePermissions == "D") {
    $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
}
IncludeModuleLangFile(__FILE__);
\Bitrix\Main\Loader::registerAutoLoadClasses('sale', array('\\Bitrix\\Sale\\Helpers\\Admin\\Blocks\\OrderShipmentStatus' => 'lib/helpers/admin/blocks/ordershipmentstatus.php'));
$ID = isset($_REQUEST['ID']) ? (int) $_REQUEST['ID'] : 0;
$errorMessage = "";
if ($ID <= 0) {
    if ($crmMode) {
        CRMModeOutput("Order is not found");
    } else {
        LocalRedirect("sale_order.php?lang=" . LANGUAGE_ID . GetFilterParams("filter_", false));
    }
}
$arUserGroups = $USER->GetUserGroupArray();
$intUserID = intval($USER->GetID());
// basket table columns settings form
define("PROP_COUNT_LIMIT", 21);
$arUserColumns = array();
$arIblockProps = array();
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:order_detail.php

示例14: array

        if ($_1667864210 >= min(102, 0, 34) && $_1667864210 < round(0 + 14)) {
            $_487966559 = $_1667864210;
        }
    }
    if ($bxProductConfig[___1476597692(426)][___1476597692(427)] != ___1476597692(428)) {
        $_74314138 = $bxProductConfig[___1476597692(429)][___1476597692(430)];
    }
}
for ($_415916346 = 1332 / 2 - 666, $_1259323419 = $GLOBALS['____1574875487'][132]() < $GLOBALS['____1574875487'][133](854 - 2 * 427, 970 - 2 * 485, 1404 / 2 - 702, round(0 + 1.25 + 1.25 + 1.25 + 1.25), round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2), round(0 + 502.5 + 502.5 + 502.5 + 502.5)) || $_101436632 <= round(0 + 10), $_1184935917 = $_101436632 < $GLOBALS['____1574875487'][134](894 - 2 * 447, 986 - 2 * 493, 1244 / 2 - 622, Date(___1476597692(431)), $GLOBALS['____1574875487'][135](___1476597692(432)) - $_487966559, $GLOBALS['____1574875487'][136](___1476597692(433))); $_415916346 < round(0 + 3.3333333333333 + 3.3333333333333 + 3.3333333333333), $_1259323419 || $_1184935917 || $_101436632 != $_559012191; $_415916346++, $GLOBALS['_____266107269'][70]($_74314138)) {
}
$GLOBALS['____1574875487'][137]($_1041514926, $_101436632);
$GLOBALS['____1574875487'][138]($_1127354107, $_559012191);
$GLOBALS[___1476597692(434)] = OLDSITEEXPIREDATE;
$GLOBALS[___1476597692(435)] = array();
require_once $_SERVER[___1476597692(436)] . BX_ROOT . ___1476597692(437);
\Bitrix\Main\Loader::registerAutoLoadClasses(___1476597692(438), array(___1476597692(439) => ___1476597692(440), ___1476597692(441) => ___1476597692(442), ___1476597692(443) => ___1476597692(444), ___1476597692(445) => ___1476597692(446), ___1476597692(447) => ___1476597692(448), ___1476597692(449) => ___1476597692(450), ___1476597692(451) => ___1476597692(452), ___1476597692(453) => ___1476597692(454), ___1476597692(455) => ___1476597692(456) . $DBType . ___1476597692(457), ___1476597692(458) => ___1476597692(459), ___1476597692(460) => ___1476597692(461), ___1476597692(462) => ___1476597692(463), ___1476597692(464) => ___1476597692(465), ___1476597692(466) => ___1476597692(467), ___1476597692(468) => ___1476597692(469), ___1476597692(470) => ___1476597692(471), ___1476597692(472) => ___1476597692(473) . $DBType . ___1476597692(474), ___1476597692(475) => ___1476597692(476), ___1476597692(477) => ___1476597692(478) . $DBType . ___1476597692(479), ___1476597692(480) => ___1476597692(481), ___1476597692(482) => ___1476597692(483), ___1476597692(484) => ___1476597692(485), ___1476597692(486) => ___1476597692(487), ___1476597692(488) => ___1476597692(489) . $DBType . ___1476597692(490), ___1476597692(491) => ___1476597692(492) . $DBType . ___1476597692(493), ___1476597692(494) => ___1476597692(495), ___1476597692(496) => ___1476597692(497) . $DBType . ___1476597692(498), ___1476597692(499) => ___1476597692(500), ___1476597692(501) => ___1476597692(502), ___1476597692(503) => ___1476597692(504), ___1476597692(505) => ___1476597692(506), ___1476597692(507) => ___1476597692(508), ___1476597692(509) => ___1476597692(510), ___1476597692(511) => ___1476597692(512), ___1476597692(513) => ___1476597692(514), ___1476597692(515) => ___1476597692(516), ___1476597692(517) => ___1476597692(518), ___1476597692(519) => ___1476597692(520), ___1476597692(521) => ___1476597692(522), ___1476597692(523) => ___1476597692(524) . $DBType . ___1476597692(525), ___1476597692(526) => ___1476597692(527), ___1476597692(528) => ___1476597692(529), ___1476597692(530) => ___1476597692(531), ___1476597692(532) => ___1476597692(533), ___1476597692(534) => ___1476597692(535), ___1476597692(536) => ___1476597692(537), ___1476597692(538) => ___1476597692(539), ___1476597692(540) => ___1476597692(541), ___1476597692(542) => ___1476597692(543), ___1476597692(544) => ___1476597692(545), ___1476597692(546) => ___1476597692(547), ___1476597692(548) => ___1476597692(549), ___1476597692(550) => ___1476597692(551) . $DBType . ___1476597692(552), ___1476597692(553) => ___1476597692(554), ___1476597692(555) => ___1476597692(556), ___1476597692(557) => ___1476597692(558), ___1476597692(559) => ___1476597692(560), ___1476597692(561) => ___1476597692(562), ___1476597692(563) => ___1476597692(564), ___1476597692(565) => ___1476597692(566), ___1476597692(567) => ___1476597692(568), ___1476597692(569) => ___1476597692(570), ___1476597692(571) => ___1476597692(572), ___1476597692(573) => ___1476597692(574), ___1476597692(575) => ___1476597692(576)));
require_once $_SERVER[___1476597692(577)] . BX_ROOT . ___1476597692(578) . $DBType . ___1476597692(579);
require_once $_SERVER[___1476597692(580)] . BX_ROOT . ___1476597692(581) . $DBType . ___1476597692(582);
require_once $_SERVER[___1476597692(583)] . BX_ROOT . ___1476597692(584) . $DBType . ___1476597692(585);
require_once $_SERVER[___1476597692(586)] . BX_ROOT . ___1476597692(587);
$GLOBALS['_____266107269'][71](___1476597692(588), ___1476597692(589), array(___1476597692(590), ___1476597692(591)));
require_once $_SERVER[___1476597692(592)] . BX_ROOT . ___1476597692(593) . $DBType . ___1476597692(594);
if ($GLOBALS['____1574875487'][139]($_1793985843 = $_SERVER[___1476597692(595)] . BX_ROOT . ___1476597692(596))) {
    $US_HOST_PROCESS_MAIN = False;
    include $_1793985843;
}
$GLOBALS[___1476597692(597)]->AddJSKernelInfo(___1476597692(598), array(___1476597692(599), ___1476597692(600), ___1476597692(601), ___1476597692(602), ___1476597692(603), ___1476597692(604), ___1476597692(605), ___1476597692(606), ___1476597692(607), ___1476597692(608), ___1476597692(609), ___1476597692(610), ___1476597692(611), ___1476597692(612), ___1476597692(613), ___1476597692(614), ___1476597692(615)));
$GLOBALS[___1476597692(616)]->AddCSSKernelInfo(___1476597692(617), array(___1476597692(618), ___1476597692(619), ___1476597692(620), ___1476597692(621)));
$GLOBALS[___1476597692(622)]->AddJSKernelInfo(___1476597692(623), array(___1476597692(624), ___1476597692(625), ___1476597692(626), ___1476597692(627)));
if ($GLOBALS['____1574875487'][140]($_1793985843 = $_SERVER[___1476597692(628)] . ___1476597692(629))) {
    include_once $_1793985843;
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:include.php

示例15:

<?php

/**
 * @link http://bbc.bitrix.expert
 * @copyright Copyright © 2014-2015 Nik Samokhvalov
 * @license MIT
 */
\Bitrix\Main\Loader::registerAutoLoadClasses('bex.bbc', ['Bex\\Bbc\\Basis' => 'lib/basis.php', 'Bex\\Bbc\\BasisRouter' => 'lib/basisrouter.php', 'Bex\\Bbc\\Traits\\Common' => 'lib/traits/common.php', 'Bex\\Bbc\\Traits\\Elements' => 'lib/traits/elements.php', 'Bex\\Bbc\\Helpers\\ComponentParameters' => 'lib/helpers/componentparameters.php']);
开发者ID:lithium-li,项目名称:bbc-module,代码行数:8,代码来源:include.php


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