|
static | addClassToClassList ( $class, string $newClass) |
| Adds a class to the existing class value, supporting it as a string or array.
|
|
Definition at line 5 of file SkinComponentUtils.php.
◆ 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 | $class | to update. |
string | $newClass | to 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: