Ingo_Storage_FilterIterator
extends FilterIterator
in package
Abstract iterator filter for the Storage object.
Tags
Table of Contents
- $_filters : array<string|int, mixed>
- Filter list.
- create() : Ingo_Storage_FilterIterator
- Create a filter iterator.
- setFilter() : mixed
- Sets the filters list.
Properties
$_filters
Filter list.
protected
array<string|int, mixed>
$_filters
= array()
Methods
create()
Create a filter iterator.
public
static create(Ingo_Storage $storage[, array<string|int, mixed> $filter = array() ]) : Ingo_Storage_FilterIterator
Parameters
- $storage : Ingo_Storage
-
A storage object.
- $filter : array<string|int, mixed> = array()
-
A list of rules (classnames) to filter.
Return values
Ingo_Storage_FilterIterator —Filtered iterator.
setFilter()
Sets the filters list.
public
setFilter([array<string|int, mixed> $filter = array() ]) : mixed
Parameters
- $filter : array<string|int, mixed> = array()
-
Filters list.