MediaWiki  REL1_24
Licenses Class Reference

A License class for use on Special:Upload. More...

Inheritance diagram for Licenses:
Collaboration diagram for Licenses:

List of all members.

Public Member Functions

 __construct ($params)
 #@-
 getInputHTML ($value)
 Accessor for $this->html.
 getLicenses ()
 #@-

Protected Member Functions

 makeHtml ($tagset, $depth=0)
 makeLicenses ()
 outputOption ($message, $value, $attribs=null, $depth=0)
 stackItem (&$list, $path, $item)
 trimStars ($str)

Protected Attributes

string $html
 *
array $licenses = array()
 *
string $msg
 *

Detailed Description

A License class for use on Special:Upload.

Definition at line 30 of file Licenses.php.


Constructor & Destructor Documentation

Licenses::__construct ( params)

#@-

Parameters:
array$params

Reimplemented from HTMLFormField.

Definition at line 41 of file Licenses.php.


Member Function Documentation

Licenses::getInputHTML ( value)

Accessor for $this->html.

Parameters:
bool$value
Returns:
string

Reimplemented from HTMLFormField.

Definition at line 169 of file Licenses.php.

#@-

Accessor for $this->licenses

Returns:
array

Definition at line 158 of file Licenses.php.

Licenses::makeHtml ( tagset,
depth = 0 
) [protected]
Parameters:
array$tagset
int$depth

Definition at line 110 of file Licenses.php.

Licenses::makeLicenses ( ) [protected]
Access:
private

Definition at line 55 of file Licenses.php.

Licenses::outputOption ( message,
value,
attribs = null,
depth = 0 
) [protected]
Parameters:
string$message
string$value
null | array$attribs
int$depth
Returns:
string

Definition at line 139 of file Licenses.php.

Licenses::stackItem ( &$  list,
path,
item 
) [protected]
Parameters:
array$list
array$path
mixed$item

Definition at line 96 of file Licenses.php.

Licenses::trimStars ( str) [protected]
Parameters:
string$str
Returns:
array

Definition at line 86 of file Licenses.php.


Member Data Documentation

string Licenses::$html [protected]

*

Definition at line 35 of file Licenses.php.

array Licenses::$licenses = array() [protected]

*

Definition at line 33 of file Licenses.php.

string Licenses::$msg [protected]

*

Definition at line 31 of file Licenses.php.


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