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

Public Member Functions

int getLength ()
 
string item (int $index)
 
bool contains (string $token)
 
void add (string ... $tokens)
 
void remove (string ... $tokens)
 
bool toggle (string $token, ?bool $force=null)
 
bool replace (string $token, string $newToken)
 
bool supports (string $token)
 
string getValue ()
 
 setValue (string $val)
 

Protected Member Functions

Exception _unimplemented ()
 

Member Function Documentation

◆ _unimplemented()

Exception Wikimedia\IDLeDOM\Stub\DOMTokenList::_unimplemented ( )
abstractprotected
Returns
Exception

◆ add()

void Wikimedia\IDLeDOM\Stub\DOMTokenList::add ( string ... $tokens)
Parameters
string...$tokens
Returns
void

◆ contains()

bool Wikimedia\IDLeDOM\Stub\DOMTokenList::contains ( string $token)
Parameters
string$token
Returns
bool

◆ getLength()

int Wikimedia\IDLeDOM\Stub\DOMTokenList::getLength ( )
Returns
int

◆ getValue()

string Wikimedia\IDLeDOM\Stub\DOMTokenList::getValue ( )
Returns
string

◆ item()

string Wikimedia\IDLeDOM\Stub\DOMTokenList::item ( int $index)
Parameters
int$index
Returns
?string

◆ remove()

void Wikimedia\IDLeDOM\Stub\DOMTokenList::remove ( string ... $tokens)
Parameters
string...$tokens
Returns
void

◆ replace()

bool Wikimedia\IDLeDOM\Stub\DOMTokenList::replace ( string $token,
string $newToken )
Parameters
string$token
string$newToken
Returns
bool

◆ setValue()

Wikimedia\IDLeDOM\Stub\DOMTokenList::setValue ( string $val)
Parameters
string$val

◆ supports()

bool Wikimedia\IDLeDOM\Stub\DOMTokenList::supports ( string $token)
Parameters
string$token
Returns
bool

◆ toggle()

bool Wikimedia\IDLeDOM\Stub\DOMTokenList::toggle ( string $token,
?bool $force = null )
Parameters
string$token
?bool$force
Returns
bool

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