uawdijnntqw1x1x1
IP : 18.191.141.17
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
axolotl.ru
/
www
/
bitrix
/
css
/
..
/
components
/
bitrix
/
tasks.syslog
/
class.php
/
/
<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); use Bitrix\Main\Localization\Loc; use Bitrix\Tasks\Item\SystemLog; Loc::loadMessages(__FILE__); CBitrixComponent::includeComponentClass("bitrix:tasks.base"); class TasksSysLogComponent extends TasksBaseComponent { protected function checkParameters() { $this->tryParseIntegerParameter($this->arParams['ENTITY_TYPE'], 0); if(!$this->arParams['ENTITY_TYPE']) { $this->errors->add('INVALID_PARAMETER.ENTITY_TYPE', 'Illegal entity type'); } $this->tryParseIntegerParameter($this->arParams['ENTITY_ID'], 0); if(!$this->arParams['ENTITY_ID']) { $this->errors->add('INVALID_PARAMETER.ENTITY_ID', 'Illegal entity id'); } $this->tryParseIntegerParameter($this->arParams['PAGE_SIZE'], 5); return $this->errors->checkNoFatals(); } protected function getData() { // todo: pagenav and lazyload here $items = SystemLog::find(array( 'filter' => array( '=ENTITY_TYPE' => $this->arParams['ENTITY_TYPE'], '=ENTITY_ID' => $this->arParams['ENTITY_ID'], ), 'order' => array( 'CREATED_DATE' => 'desc' ), 'limit' => $this->arParams['PAGE_SIZE'], )); $this->arResult['DATA']['ITEMS'] = $items; $this->returnData = array( 'COUNT' => count($items) ); } }
/var/www/axolotl/data/www/axolotl.ru/www/bitrix/css/../components/bitrix/tasks.syslog/class.php