Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Request
+ Граф наследования:Request:

Открытые члены

 __construct ($customOptions=array())
 
 setAuditors (array $auditors)
 
 getChangedVars ()
 
 filter (array $values, $isReturnChangedOnly=true)
 
 isAuditorsTriggered ()
 
- Открытые члены унаследованные от IRequestFilter
 filter (array $values)
 

Открытые атрибуты

const ACTION_NONE = 'none'
 
const ACTION_CLEAR = 'clear'
 
const ACTION_FILTER = 'filter'
 

Защищенные члены

 onFilterStarted ()
 
 onFilterFinished ()
 
 filterVar ($context, $value, $name)
 
 filterArray ($context, ?array $array, $name, $skipKeyPreg='')
 
 setAction ($action)
 
 setLog ($log)
 
 isFilterAction ()
 
 isClearAction ()
 
 isLogNeeded ()
 
 pushChangedVar ($context, $value, $name)
 

Защищенные статические члены

static isActionValid ($action)
 
static logVariable ($value, $name, $auditorName)
 
static adjustPcreBacktrackLimit ($string)
 
static getValidActions ()
 

Защищенные данные

 $auditors = []
 
 $changedContext = []
 

Подробное описание

См. определение в файле request.php строка 21

Конструктор(ы)

◆ __construct()

__construct ( $customOptions = array())

См. определение в файле request.php строка 59

Методы

◆ adjustPcreBacktrackLimit()

static adjustPcreBacktrackLimit ( $string)
staticprotected
Аргументы
$string
Возвращает
bool

См. определение в файле request.php строка 303

◆ filter()

filter ( array $values,
$isReturnChangedOnly = true )

Переопределяется в Server.

См. определение в файле request.php строка 135

◆ filterArray()

filterArray ( $context,
?array $array,
$name,
$skipKeyPreg = '' )
protected
Аргументы
string$context
array  |  null$array
string$name
string$skipKeyPreg
Возвращает
array

См. определение в файле request.php строка 248

◆ filterVar()

filterVar ( $context,
$value,
$name )
protected
Аргументы
string$context
string$value
string$name
Возвращает
string

См. определение в файле request.php строка 196

◆ getChangedVars()

getChangedVars ( )

Return all changed variables, can be useful for logging

Возвращает
array

См. определение в файле request.php строка 97

◆ getValidActions()

static getValidActions ( )
staticprotected
Возвращает
array

См. определение в файле request.php строка 316

◆ isActionValid()

static isActionValid ( $action)
staticprotected
Аргументы
$action
Возвращает
bool

См. определение в файле request.php строка 283

◆ isAuditorsTriggered()

isAuditorsTriggered ( )
Начиная с
14.0.3
Возвращает
bool

См. определение в файле request.php строка 174

◆ isClearAction()

isClearAction ( )
protected
Возвращает
bool

См. определение в файле request.php строка 355

◆ isFilterAction()

isFilterAction ( )
protected
Возвращает
bool

См. определение в файле request.php строка 347

◆ isLogNeeded()

isLogNeeded ( )
protected
Возвращает
bool

См. определение в файле request.php строка 363

◆ logVariable()

static logVariable ( $value,
$name,
$auditorName )
staticprotected
Аргументы
string$value
string$name
string$auditorName
Возвращает
bool

См. определение в файле request.php строка 294

◆ onFilterFinished()

onFilterFinished ( )
protected

См. определение в файле request.php строка 186

◆ onFilterStarted()

onFilterStarted ( )
protected

См. определение в файле request.php строка 179

◆ pushChangedVar()

pushChangedVar ( $context,
$value,
$name )
protected
Аргументы
string$context
string$value
string$name
Возвращает
$this

См. определение в файле request.php строка 374

◆ setAction()

setAction ( $action)
protected
Аргументы
$action
Возвращает
$this

См. определение в файле request.php строка 325

◆ setAuditors()

setAuditors ( array $auditors)

Set auditors for use in filtration

Аргументы
Auditor\Base[]$auditors
Возвращает
$this

См. определение в файле request.php строка 86

◆ setLog()

setLog ( $log)
protected
Аргументы
$log
Возвращает
$this

См. определение в файле request.php строка 338

Данные класса

◆ $auditors

$auditors = []
protected

См. определение в файле request.php строка 28

◆ $changedContext

$changedContext = []
protected

См. определение в файле request.php строка 29

◆ ACTION_CLEAR

const ACTION_CLEAR = 'clear'

См. определение в файле request.php строка 24

◆ ACTION_FILTER

const ACTION_FILTER = 'filter'

См. определение в файле request.php строка 25

◆ ACTION_NONE

const ACTION_NONE = 'none'

См. определение в файле request.php строка 23