IteratorPlugin
extends Plugin
in package
Table of Contents
- $blacklist : array<string|int, mixed>
- List of classes and interfaces to blacklist.
- $parser : mixed
- getTriggers() : mixed
- getTypes() : array<string|int, mixed>
- An array of types (As returned by gettype) for all data this plugin can operate on.
- parse() : mixed
- setParser() : mixed
Properties
$blacklist
List of classes and interfaces to blacklist.
public
static array<string|int, mixed>
$blacklist
= array('DOMNamedNodeMap', 'DOMNodeList', 'mysqli_result', 'PDOStatement', 'SplFileObject')
Certain classes (Such as PDOStatement) irreversibly lose information when traversed. Others are just huge. Either way, put them in here and you won't have to worry about them being parsed.
$parser
protected
mixed
$parser
Methods
getTriggers()
public
getTriggers() : mixed
Return values
mixed —getTypes()
An array of types (As returned by gettype) for all data this plugin can operate on.
public
getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —List of types
parse()
public
parse(mixed &$var, BasicObject &$o, mixed $trigger) : mixed
Parameters
- $var : mixed
- $o : BasicObject
- $trigger : mixed
Return values
mixed —setParser()
public
setParser(Parser $p) : mixed
Parameters
- $p : Parser