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

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

 __construct ($splittingChar='')
 
 process ($value)
 
 getFilteredValue ()
 
 getName ()
 

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

 setFilteredValue ($string)
 
 setSplittingChar ($char)
 
 getSplittingChar ($customChar='')
 
 getSplittingString ($splitItemsCount=2, $customSplitChar='')
 
 initializeFilters ()
 
 getFilters ()
 

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

 $filters = array()
 
 $name = ''
 

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

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

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

◆ __construct()

__construct ( $splittingChar = '')

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

Методы

◆ getFilteredValue()

getFilteredValue ( )

Return filtered value after last value processing

См. также
Base::process
Возвращает
string

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

◆ getFilters()

getFilters ( )
abstractprotected
Возвращает
array

Переопределяется в Path, Sql и Xss.

◆ getName()

getName ( )

Return auditor name

Возвращает
string

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

◆ getSplittingChar()

getSplittingChar ( $customChar = '')
protected
Аргументы
string$customChar
Возвращает
string

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

◆ getSplittingString()

getSplittingString ( $splitItemsCount = 2,
$customSplitChar = '' )
protected

make string like '\1 * \2 * \3 * \4'

Аргументы
int$splitItemsCount
string$customSplitChar
Возвращает
string

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

◆ initializeFilters()

initializeFilters ( )
protected

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

◆ process()

process ( $value)

Process and save filtered value Return true if value triggered auditor filtration For get filtered value use Base::getFilteredValue

Simple example: $ob = new Base(); if ($ob->process($someValue)) $someValue = $ob->getFilteredValue();

Аргументы
string$valueA value to filter.
Возвращает
bool

Переопределяется в Sql и Xss.

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

◆ setFilteredValue()

setFilteredValue ( $string)
protected
Аргументы
string$string

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

◆ setSplittingChar()

setSplittingChar ( $char)
protected
Аргументы
string$char

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

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

◆ $filters

$filters = array()
protected

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

◆ $name

$name = ''
protected

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