MediaWiki  REL1_22
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)

#@-

Constructor

Parameters:
$paramsarray

Reimplemented from HTMLFormField.

Definition at line 49 of file Licenses.php.


Member Function Documentation

Licenses::getInputHTML ( value)

Accessor for $this->html.

Parameters:
$valuebool
Returns:
string

Reimplemented from HTMLFormField.

Definition at line 175 of file Licenses.php.

#@-

Accessor for $this->licenses

Returns:
array

Definition at line 164 of file Licenses.php.

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

Definition at line 116 of file Licenses.php.

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

Definition at line 61 of file Licenses.php.

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

Definition at line 145 of file Licenses.php.

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

Definition at line 102 of file Licenses.php.

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

Definition at line 92 of file Licenses.php.


Member Data Documentation

string Licenses::$html [protected]

Definition at line 41 of file Licenses.php.

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

Definition at line 37 of file Licenses.php.

string Licenses::$msg [protected]

Definition at line 33 of file Licenses.php.


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