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

Public Member Functions

mixed __get (string $name)
 
bool __isset (string $name)
 
 __set (string $name, $value)
 
 __unset (string $name)
 
string getType ()
 
 setType (string $val)
 
string getSizes ()
 
 setSizes (string $val)
 
string getMedia ()
 
 setMedia (string $val)
 

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\HTMLSourceElement::__get ( string $name)
Parameters
string$name
Returns
mixed

◆ __isset()

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

◆ __set()

Wikimedia\IDLeDOM\Helper\HTMLSourceElement::__set ( string $name,
$value )
Parameters
string$name
mixed$value

◆ __unset()

Wikimedia\IDLeDOM\Helper\HTMLSourceElement::__unset ( string $name)
Parameters
string$name

◆ _getMissingProp()

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

◆ _setMissingProp()

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

◆ getMedia()

string Wikimedia\IDLeDOM\Helper\HTMLSourceElement::getMedia ( )
Returns
string

◆ getSizes()

string Wikimedia\IDLeDOM\Helper\HTMLSourceElement::getSizes ( )
Returns
string

◆ getType()

string Wikimedia\IDLeDOM\Helper\HTMLSourceElement::getType ( )
Returns
string

◆ setMedia()

Wikimedia\IDLeDOM\Helper\HTMLSourceElement::setMedia ( string $val)
Parameters
string$val

◆ setSizes()

Wikimedia\IDLeDOM\Helper\HTMLSourceElement::setSizes ( string $val)
Parameters
string$val

◆ setType()

Wikimedia\IDLeDOM\Helper\HTMLSourceElement::setType ( string $val)
Parameters
string$val

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