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

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

 process ($value)
 
- Открытые члены унаследованные от Base
 __construct ($splittingChar='')
 
 getFilteredValue ()
 
 getName ()
 

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

 initializeWhiteList ()
 
 getFilters ()
 
 getWhiteList ()
 
 processWhiteList ($value, $action='store')
 
- Защищенные члены унаследованные от Base
 setFilteredValue ($string)
 
 setSplittingChar ($char)
 
 getSplittingChar ($customChar='')
 
 getSplittingString ($splitItemsCount=2, $customSplitChar='')
 
 initializeFilters ()
 

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

 $name = 'XSS'
 
- Защищенные данные унаследованные от Base
 $filters = array()
 
 $name = ''
 

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

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

Методы

◆ getFilters()

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

Переопределяет метод предка Base.

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

◆ getWhiteList()

getWhiteList ( )
protected
Возвращает
array

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

◆ initializeWhiteList()

initializeWhiteList ( )
protected

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

◆ process()

process ( $value)

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

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

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

Переопределяет метод предка Base.

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

◆ processWhiteList()

processWhiteList ( $value,
$action = 'store' )
protected
Аргументы
string$value
string$action- only 'store' or 'restore'
Возвращает
string

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

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

◆ $name

$name = 'XSS'
protected

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