|
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\Element::__get |
( |
string | $name | ) |
|
◆ __isset()
bool Wikimedia\IDLeDOM\Helper\Element::__isset |
( |
string | $name | ) |
|
◆ __set()
Wikimedia\IDLeDOM\Helper\Element::__set |
( |
string | $name, |
|
|
| $value ) |
◆ __unset()
Wikimedia\IDLeDOM\Helper\Element::__unset |
( |
string | $name | ) |
|
◆ _getMissingProp()
mixed Wikimedia\IDLeDOM\Helper\Element::_getMissingProp |
( |
string | $prop | ) |
|
|
abstractprotected |
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\Element::_setMissingProp |
( |
string | $prop, |
|
|
| $value ) |
|
abstractprotected |
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 |
◆ getClassName()
string Wikimedia\IDLeDOM\Helper\Element::getClassName |
( |
| ) |
|
◆ getId()
string Wikimedia\IDLeDOM\Helper\Element::getId |
( |
| ) |
|
◆ getSlot()
string Wikimedia\IDLeDOM\Helper\Element::getSlot |
( |
| ) |
|
◆ setClassList()
Wikimedia\IDLeDOM\Helper\Element::setClassList |
( |
string | $val | ) |
|
◆ setClassName()
Wikimedia\IDLeDOM\Helper\Element::setClassName |
( |
string | $val | ) |
|
◆ setId()
Wikimedia\IDLeDOM\Helper\Element::setId |
( |
string | $val | ) |
|
◆ setSlot()
Wikimedia\IDLeDOM\Helper\Element::setSlot |
( |
string | $val | ) |
|
The documentation for this class was generated from the following file: