class FilterProcessing

Methods

static mixed
executeAttributeFilterChain(array $filterChain, array $vars)

Execute an attribute's filterChain

static void
executeAttributePreprocessor(Tag $tag, string $attrName, string $regexp, string[] $map)

Execute an attribute preprocessor

static mixed
executeFilter(array $filter, array $vars)

Execute a filter

static array
getNamedCaptures(string $str, string $regexp, string[] $map)

Execute a regexp and return the values of the mapped captures

Details

at line 144
static protected mixed executeAttributeFilterChain(array $filterChain, array $vars)

Execute an attribute's filterChain

Parameters

array $filterChain

Attribute's filterChain

array $vars

Callback vars

Return Value

mixed

Filtered value

at line 169
static protected void executeAttributePreprocessor(Tag $tag, string $attrName, string $regexp, string[] $map)

Execute an attribute preprocessor

Parameters

Tag $tag
string $attrName
string $regexp
string[] $map

Return Value

void

at line 193
static protected mixed executeFilter(array $filter, array $vars)

Execute a filter

Parameters

array $filter

Programmed callback

array $vars

Variables to be used when executing the callback

Return Value

mixed

Whatever the callback returns

See also

ProgrammableCallback

at line 220
static protected array getNamedCaptures(string $str, string $regexp, string[] $map)

Execute a regexp and return the values of the mapped captures

Parameters

string $str
string $regexp
string[] $map

Return Value

array