Bitrix API

Base

AbstractYes

Abstract class of all security auditors

Tags
since
14.0.0

Table of Contents

Methods

__construct()  : mixed
getFilteredValue()  : string
Return filtered value after last value processing
getName()  : string
Return auditor name
process()  : bool
Process and save filtered value Return true if value triggered auditor filtration For get filtered value use Base::getFilteredValue

Methods

__construct()

public __construct([mixed $splittingChar = '' ]) : mixed
Parameters
$splittingChar : mixed = ''

getFilteredValue()

Return filtered value after last value processing

public getFilteredValue() : string
Tags
see
Base::process
Return values
string

getName()

Return auditor name

public getName() : string
Return values
string

process()

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

public process(string $value) : bool

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

Parameters
$value : string

A value to filter.

Return values
bool

        
On this page

Search results