Файловый менеджер - Редактировать - /var/www/axolotl/data/www/ekb.axolotls.ru/cf5ac/appplacementmanager.php.tar
Назад
www/axolotl/data/www/axolotls.ru/www/bitrix/modules/crm/lib/integration/rest/appplacementmanager.php0000664 00000001643 14767173612 0030777 0 ustar 00 var <?php namespace Bitrix\Crm\Integration\Rest; use Bitrix\Main; use Bitrix\Main\Localization\Loc; use Bitrix\Rest; Loc::loadMessages(__FILE__); class AppPlacementManager { public static function getHandlerInfos($placement) { if(!Main\Loader::includeModule('rest')) { return []; } $results = []; foreach(Rest\PlacementTable::getHandlersList($placement) as $handler) { $info = [ 'ID' => (int)$handler['ID'], 'APP_ID' => (int)$handler['APP_ID'] ]; $title = isset($handler['TITLE']) ? trim($handler['TITLE']) : ''; $info['TITLE'] = $title !== '' ? $title : $handler['APP_NAME']; $groupName = isset($handler['GROUP_NAME']) ? trim($handler['GROUP_NAME']) : ''; if($groupName === '') { $groupName = Loc::getMessage('CRM_APP_PLACEMENT_DEFAULT_GROUP'); } if(!isset($results[$groupName])) { $results[$groupName] = []; } $results[$groupName][] = $info; } return $results; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.8 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка