[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/ -> Licenses.php (summary)

License selector for use on Special:Upload. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author: Ævar Arnfjörð Bjarmason <[email protected]>
Copyright: Copyright © 2005, Ævar Arnfjörð Bjarmason
License: http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
File Size: 210 lines (5 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 2 classes

Licenses:: (8 methods):
  __construct()
  makeLicenses()
  trimStars()
  stackItem()
  makeHtml()
  outputOption()
  getLicenses()
  getInputHTML()

License:: (1 method):
  __construct()


Class: Licenses  - X-Ref

A License class for use on Special:Upload

__construct( $params )   X-Ref

param: array $params

makeLicenses()   X-Ref


trimStars( $str )   X-Ref

param: string $str
return: array

stackItem( &$list, $path, $item )   X-Ref

param: array $list
param: array $path
param: mixed $item

makeHtml( $tagset, $depth = 0 )   X-Ref

param: array $tagset
param: int $depth

outputOption( $message, $value, $attribs = null, $depth = 0 )   X-Ref

param: string $message
param: string $value
param: null|array $attribs
param: int $depth
return: string

getLicenses()   X-Ref
Accessor for $this->licenses

return: array

getInputHTML( $value )   X-Ref
Accessor for $this->html

param: bool $value
return: string

Class: License  - X-Ref

A License class for use on Special:Upload (represents a single type of license).

__construct( $str )   X-Ref

param: string $str License name??



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1