MediaWiki REL1_40
MediaWiki\Skin\SkinComponentUtils Class Reference

Static Public Member Functions

static addClassToClassList ( $class, string $newClass)
 Adds a class to the existing class value, supporting it as a string or array.
 

Detailed Description

Definition at line 5 of file SkinComponentUtils.php.

Member Function Documentation

◆ addClassToClassList()

static MediaWiki\Skin\SkinComponentUtils::addClassToClassList ( $class,
string $newClass )
static

Adds a class to the existing class value, supporting it as a string or array.

Parameters
string | array$classto update.
string$newClassto add.
Returns
string|array classes.
Access: internal

Definition at line 15 of file SkinComponentUtils.php.


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