|
MediaWiki
REL1_19
|
A License class for use on Special:Upload. More...


Public Member Functions | |
| __construct ($params) | |
| #@- | |
| getInputHTML ($value) | |
| Accessor for $this->html. | |
| getLicenses () | |
| #@- | |
Protected Member Functions | |
| makeHtml ($tagset, $depth=0) | |
| makeLicenses () | |
| msg ($str) | |
| outputOption ($text, $value, $attribs=null, $depth=0) | |
| stackItem (&$list, $path, $item) | |
| trimStars ($str) | |
Protected Attributes | |
| $html | |
| $licenses = array() | |
| $msg | |
A License class for use on Special:Upload.
Definition at line 12 of file Licenses.php.
| Licenses::__construct | ( | $ | params | ) |
#@-
Constructor
| $params | array |
Reimplemented from HTMLFormField.
Definition at line 34 of file Licenses.php.
References makeLicenses(), msg(), and wfMsgForContent().

| Licenses::getInputHTML | ( | $ | value | ) |
Accessor for $this->html.
| $value | bool |
Reimplemented from HTMLFormField.
Definition at line 164 of file Licenses.php.
References getLicenses(), makeHtml(), outputOption(), Html\rawElement(), and wfMsg().

#@-
Accessor for $this->licenses
Definition at line 153 of file Licenses.php.
Referenced by getInputHTML().

| Licenses::makeHtml | ( | $ | tagset, |
| $ | depth = 0 |
||
| ) | [protected] |
| $tagset | |
| $depth | int |
Definition at line 101 of file Licenses.php.
References msg(), and outputOption().
Referenced by getInputHTML().


| Licenses::makeLicenses | ( | ) | [protected] |
Definition at line 46 of file Licenses.php.
References $lines, msg(), stackItem(), and trimStars().
Referenced by __construct().


| Licenses::msg | ( | $ | str | ) | [protected] |
| $str | string |
Definition at line 141 of file Licenses.php.
References $msg, and wfMessage().
Referenced by __construct(), makeHtml(), and makeLicenses().


| Licenses::outputOption | ( | $ | text, |
| $ | value, | ||
| $ | attribs = null, |
||
| $ | depth = 0 |
||
| ) | [protected] |
| $text | |
| $value | |
| $attribs | null |
| $depth | int |
Definition at line 129 of file Licenses.php.
References Xml\element().
Referenced by getInputHTML(), and makeHtml().


| Licenses::stackItem | ( | &$ | list, |
| $ | path, | ||
| $ | item | ||
| ) | [protected] |
| $list | |
| $path | |
| $item |
Definition at line 87 of file Licenses.php.
References $path.
Referenced by makeLicenses().

| Licenses::trimStars | ( | $ | str | ) | [protected] |
| $str |
Definition at line 77 of file Licenses.php.
Referenced by makeLicenses().

Licenses::$html [protected] |
Definition at line 26 of file Licenses.php.
Licenses::$licenses = array() [protected] |
Definition at line 21 of file Licenses.php.
Licenses::$msg [protected] |
Definition at line 16 of file Licenses.php.
Referenced by msg().