Current Path : /home/bitrix/ext_www/school1535.yacl.site/ |
Current File : /home/bitrix/ext_www/school1535.yacl.site/правки ядра! |
bitrix/modules/disk/lib/storage.php 330 public function getSize() D:\phpProjects\domains\rgtest\bitrix\components\bitrix\tasks.task\class.php 189 if ($taskId && !$res) bitrix/modules/tasks/lib/util/user.php 274 public static function getData($userIds) { if (!is_array($userIds) && $userIds > 0) { $userIds = [$userIds]; } 792 public static function getUserName($userIds, $siteId = null, $nameTemplate = null) { if (!is_array($userIds) && $userIds > 0) { $userIds = [$userIds]; } bitrix/components/bitrix/tasks.task/class.php 113 if ($arParams['PROJECT_ID'] > 0 && Project::canView($arParams['PROJECT_ID'])) { return null; } bitrix/modules/tasks/classes/general/taskitem.php 1472 if ($this->arTaskData['UF_PROJECT'] > 0) return true; bitrix/modules/tasks/lib/grid/row/content/userfield.php 23 if ($fieldName == 'UF_PROJECT') { return \Project::getProjectLink($row['UF_PROJECT']); } if ($fieldName == 'UF_PRIORITET') { return $row[$fieldName] > 0 ? \CUserFieldEnum::GetList([],['ID' => $row[$fieldName]])->Fetch()['VALUE'] : 'не указано'; } if ($fieldName == 'UF_STAGE') { $helper = new \HighloadBlockHelper(HLBLOCK_TASK_STAGES); return $helper->getList(['filter' => ['=ID' => $row[$fieldName]], 'select' => ['UF_NAME']])->fetch()['UF_NAME']; } if ($fieldName == 'UF_ACTIVITY_LIST') { return $row[$fieldName] > 0 ? \CUserFieldEnum::GetList([],['ID' => $row[$fieldName]])->Fetch()['VALUE'] : 'не указано'; } if ($parameters[$fieldName]['USER_TYPE_ID'] == 'hlblock') { $helper = new \HighloadBlockHelper($parameters[$fieldName]['SETTINGS']['HLBLOCK_ID']); $items = $helper->getList(['filter' => ['@ID' => $row[$fieldName]]])->fetchAll(); $return = []; foreach ($items as $item) { $return[] = $item['UF_NAME']; } return implode(', ', $return); } bitrix/components/bitrix/main.ui.filter/class.php 989 if ($field['id'] == 'UF_PROJECT') { $field['type'] = 'list'; $field['items'] = [ "a" => 'Без проекта', ]; $allowedProjects = getAllowedProjectsForReports(false, true); foreach ($allowedProjects as $projectId => $projectName) { $field['items'][$projectId] = $projectName; } $field['params']['multiple'] = 'Y'; } bitrix/components/bitrix/tasks.base/class.php 986 public static function getApplicationResources()