class AttributePreprocessorCollection extends Collection

Properties

protected array $items from  Collection

Methods

clear()

Empty this collection

array|Dictionary|null
asConfig()

No description

int
count()

No description

mixed
current()

No description

int|string
key()

No description

mixed
next()

No description

void
rewind()

No description

bool
valid()

No description

add(string $attrName, string $regexp)

Add an attribute preprocessor

merge(array|AttributePreprocessorCollection $attributePreprocessors)

Merge a set of attribute preprocessors into this collection

Details

in Collection at line 25
clear()

Empty this collection

at line 98
array|Dictionary|null asConfig()

No description

Return Value

array|Dictionary|null

in Collection at line 45
int count()

No description

Return Value

int

in Collection at line 57
mixed current()

No description

Return Value

mixed

at line 39
int|string key()

No description

Return Value

int|string

in Collection at line 75
mixed next()

No description

Return Value

mixed

in Collection at line 84
void rewind()

No description

Return Value

void

in Collection at line 92
bool valid()

No description

Return Value

bool

at line 26
AttributePreprocessor add(string $attrName, string $regexp)

Add an attribute preprocessor

Parameters

string $attrName

Original name

string $regexp

Preprocessor's regexp

Return Value

AttributePreprocessor

at line 51
merge(array|AttributePreprocessorCollection $attributePreprocessors)

Merge a set of attribute preprocessors into this collection

Parameters

array|AttributePreprocessorCollection $attributePreprocessors

Instance of AttributePreprocessorCollection or 2D array of [[attrName,regexp|AttributePreprocessor]]