Ingo_Storage_FilterIterator_Match
extends Ingo_Storage_FilterIterator
in package
Storage iterator filter that returns objects that match the filter.
Tags
Table of Contents
- $_filters : array<string|int, mixed>
- Filter list.
- accept() : mixed
- 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
accept()
public
accept() : mixed
Return values
mixed —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.