MediaWiki REL1_39
ListToggle Class Reference

Class for generating clickable toggle links for a list of checkboxes. More...

Public Member Functions

 __construct (OutputPage $output)
 
 getHTML ()
 

Detailed Description

Class for generating clickable toggle links for a list of checkboxes.

This is only supported on clients that have JavaScript enabled; it is hidden for clients that have it disabled.

Since
1.27

Definition at line 31 of file ListToggle.php.

Constructor & Destructor Documentation

◆ __construct()

ListToggle::__construct ( OutputPage $output)

Definition at line 35 of file ListToggle.php.

References OutputPage\addModules(), and OutputPage\addModuleStyles().

Member Function Documentation

◆ getHTML()

ListToggle::getHTML ( )
Returns
string

Definition at line 53 of file ListToggle.php.


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