IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\DOMTokenList Interface Reference
+ Inheritance diagram for Wikimedia\IDLeDOM\DOMTokenList:

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)
 
Iterator< string > getIterator ()
 

Member Function Documentation

◆ add()

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

◆ contains()

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

◆ getIterator()

Iterator< string > Wikimedia\IDLeDOM\DOMTokenList::getIterator ( )
Returns
\Iterator<string> Value iterator returning string items

◆ getLength()

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

◆ getValue()

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

◆ item()

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

◆ remove()

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

◆ replace()

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

◆ setValue()

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

◆ supports()

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

◆ toggle()

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

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