IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\Helper\EventListenerOptions Class Reference

Public Member Functions

mixed __get (string $name)
 
bool __isset (string $name)
 
bool offsetExists ( $offset)
 
mixed offsetGet ( $offset)
 
 offsetSet ( $offset, $value)
 
 offsetUnset ( $offset)
 

Static Public Member Functions

static Wikimedia IDLeDOM EventListenerOptions cast ( $a)
 Create a EventListenerOptions from an associative array.
 

Protected Member Functions

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.
 

Member Function Documentation

◆ __get()

mixed Wikimedia\IDLeDOM\Helper\EventListenerOptions::__get ( string $name)
Parameters
string$name
Returns
mixed

◆ __isset()

bool Wikimedia\IDLeDOM\Helper\EventListenerOptions::__isset ( string $name)
Parameters
string$name
Returns
bool

◆ _getMissingProp()

mixed Wikimedia\IDLeDOM\Helper\EventListenerOptions::_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$propthe name of the property requested
Returns
mixed

◆ _setMissingProp()

Wikimedia\IDLeDOM\Helper\EventListenerOptions::_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$propthe name of the property requested
mixed$valuethe value to set

◆ cast()

static Wikimedia IDLeDOM EventListenerOptions Wikimedia\IDLeDOM\Helper\EventListenerOptions::cast ( $a)
static

Create a EventListenerOptions from an associative array.

Parameters
array | \Wikimedia\IDLeDOM\EventListenerOptions$a
Returns
\Wikimedia\IDLeDOM\EventListenerOptions
Parameters
array$a
Returns
bool

◆ offsetExists()

bool Wikimedia\IDLeDOM\Helper\EventListenerOptions::offsetExists ( $offset)
Parameters
mixed$offset
Returns
bool

◆ offsetGet()

mixed Wikimedia\IDLeDOM\Helper\EventListenerOptions::offsetGet ( $offset)
Parameters
mixed$offset
Returns
mixed

◆ offsetSet()

Wikimedia\IDLeDOM\Helper\EventListenerOptions::offsetSet ( $offset,
$value )
Parameters
mixed$offset
mixed$value

◆ offsetUnset()

Wikimedia\IDLeDOM\Helper\EventListenerOptions::offsetUnset ( $offset)
Parameters
mixed$offset

The documentation for this class was generated from the following file: