PHP Class Habari\HTMLNodes

Inheritance: extends ArrayObject
Datei anzeigen Open project: habari/system

Public Methods

Method Description
__call ( string $method, array $args ) : HTMLNodes Make calls against this list to execute that method on all of the items within it
__construct ( null | array | DomNodeList $input = null, integer $flags, string $iterator_class = "ArrayIterator" ) Overridden constructor for \ArrayObject Converts regular \DomNodes in this array to HTMLNodes so that they have new methods
__set ( string $name, mixed $value ) Set the value of a parameter on every item of this array

Method Details

__call() public method

Make calls against this list to execute that method on all of the items within it
public __call ( string $method, array $args ) : HTMLNodes
$method string The method called on this list
$args array Arguments to this call
return HTMLNodes $this

__construct() public method

Overridden constructor for \ArrayObject Converts regular \DomNodes in this array to HTMLNodes so that they have new methods
public __construct ( null | array | DomNodeList $input = null, integer $flags, string $iterator_class = "ArrayIterator" )
$input null | array | DomNodeList A list of objects to initialize this \ArrayObject with
$flags integer
$iterator_class string

__set() public method

Set the value of a parameter on every item of this array
public __set ( string $name, mixed $value )
$name string The name of the parameters
$value mixed The value to assign to that parameter