|
mixed | _getMissingProp (string $prop) |
| Handle an attempt to get a non-existing property on this object.
|
|
| _setMissingProp (string $prop, $value) |
| Handle an attempt to set a non-existing property on this object.
|
|
◆ __get()
mixed Wikimedia\IDLeDOM\Helper\NodeList::__get |
( |
string | $name | ) |
|
◆ __isset()
bool Wikimedia\IDLeDOM\Helper\NodeList::__isset |
( |
string | $name | ) |
|
◆ _getMissingProp()
mixed Wikimedia\IDLeDOM\Helper\NodeList::_getMissingProp |
( |
string | $prop | ) |
|
|
protected |
Handle an attempt to get a non-existing property on this object.
The default implementation raises an exception but the implementor can choose a different behavior: return null (like JavaScript), dynamically create the property, etc.
- Parameters
-
string | $prop | the name of the property requested |
- Returns
- mixed
◆ _setMissingProp()
Wikimedia\IDLeDOM\Helper\NodeList::_setMissingProp |
( |
string | $prop, |
|
|
| $value ) |
|
protected |
Handle an attempt to set a non-existing property on this object.
The default implementation raises an exception but the implementor can choose a different behavior: ignore the operation (like JavaScript), dynamically create the property, etc.
- Parameters
-
string | $prop | the name of the property requested |
mixed | $value | the value to set |
◆ count()
int Wikimedia\IDLeDOM\Helper\NodeList::count |
( |
| ) |
|
◆ getIterator()
Iterator< Node > Wikimedia\IDLeDOM\Helper\NodeList::getIterator |
( |
| ) |
|
- Returns
- \Iterator<Node> Value iterator returning Node items
◆ offsetExists()
bool Wikimedia\IDLeDOM\Helper\NodeList::offsetExists |
( |
| $offset | ) |
|
◆ offsetGet()
mixed Wikimedia\IDLeDOM\Helper\NodeList::offsetGet |
( |
| $offset | ) |
|
◆ offsetSet()
Wikimedia\IDLeDOM\Helper\NodeList::offsetSet |
( |
| $offset, |
|
|
| $value ) |
◆ offsetUnset()
Wikimedia\IDLeDOM\Helper\NodeList::offsetUnset |
( |
| $offset | ) |
|
The documentation for this class was generated from the following file: