MediaWiki REL1_32
ListToggle Class Reference

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

Collaboration diagram for ListToggle:

Public Member Functions

 __construct (OutputPage $output)
 
 getHTML ()
 

Private Member Functions

 checkboxLink ( $checkboxType)
 

Private Attributes

OutputPage $output
 

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 $output, OutputPage\addModules(), and OutputPage\addModuleStyles().

Member Function Documentation

◆ checkboxLink()

ListToggle::checkboxLink (   $checkboxType)
private

Definition at line 42 of file ListToggle.php.

Referenced by getHTML().

◆ getHTML()

ListToggle::getHTML ( )
Returns
string

Definition at line 53 of file ListToggle.php.

References checkboxLink().

Member Data Documentation

◆ $output

OutputPage ListToggle::$output
private

Definition at line 33 of file ListToggle.php.

Referenced by __construct().


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