MediaWiki REL1_39
MediaWiki\Widget\SpinnerWidget Class Reference

PHP version of jquery.spinner. More...

Public Member Functions

 __construct (array $config=[])
 
 __toString ()
 Magic method implementation.
 
 toString ()
 Render element into HTML.
 

Detailed Description

PHP version of jquery.spinner.

If used with jquery.spinner.styles, can be used to show a spinner before JavaScript has loaded.

Note
2011-2020 MediaWiki Widgets Team and others; see AUTHORS.txt
MIT

Definition at line 14 of file SpinnerWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\SpinnerWidget::__construct ( array $config = [])
Parameters
array$configConfiguration options

Definition at line 22 of file SpinnerWidget.php.

References $type.

Member Function Documentation

◆ __toString()

MediaWiki\Widget\SpinnerWidget::__toString ( )

Magic method implementation.

Copied from OOUI\Tag

Returns
string

Definition at line 60 of file SpinnerWidget.php.

References MediaWiki\Widget\SpinnerWidget\toString().

◆ toString()

MediaWiki\Widget\SpinnerWidget::toString ( )

Render element into HTML.

Returns
string HTML serialization

Definition at line 49 of file SpinnerWidget.php.

Referenced by MediaWiki\Widget\SpinnerWidget\__toString().


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