BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Licenses Class Reference
Inheritance diagram for Licenses:
Collaboration diagram for Licenses:

Public Member Functions

 __construct ($params)
 
 getLines ()
 
 getLicenses ()
 
 getInputHTML ($value)
 
- Public Member Functions inherited from HTMLFormField
 getInputHTML ($value)
 
 getInputOOUI ($value)
 
 canDisplayErrors ()
 
 msg ()
 
 hasVisibleOutput ()
 
 isHidden ($alldata)
 
 cancelSubmit ($value, $alldata)
 
 validate ($value, $alldata)
 
 filter ($value, $alldata)
 
 setShowEmptyLabel ($show)
 
 loadDataFromRequest ($request)
 
 __construct ($params)
 
 getTableRow ($value)
 
 getDiv ($value)
 
 getOOUI ($value)
 
 getRaw ($value)
 
 getVForm ($value)
 
 getInline ($value)
 
 getHelpTextHtmlTable ($helptext)
 
 getHelpTextHtmlDiv ($helptext)
 
 getHelpTextHtmlRaw ($helptext)
 
 getHelpText ()
 
 getErrorsAndErrorClass ($value)
 
 getErrorsRaw ($value)
 
 getNotices ()
 
 getLabel ()
 
 getLabelHtml ($cellAttributes=[])
 
 getDefault ()
 
 getTooltipAndAccessKey ()
 
 getTooltipAndAccessKeyOOUI ()
 
 getAttributes (array $list)
 
 getOptions ()
 
 getOptionsOOUI ()
 
 skipLoadData ($request)
 
 needsJSForHtml5FormValidation ()
 

Protected Member Functions

 buildLine ($line)
 
 makeLines ()
 
 trimStars ($str)
 
 stackItem (&$list, $path, $item)
 
 makeHtml ($tagset, $depth=0)
 
 outputOption ($message, $value, $attribs=null, $depth=0)
 
- Protected Member Functions inherited from HTMLFormField
 getNearestFieldByName ($alldata, $name)
 
 isHiddenRecurse (array $alldata, array $params)
 
 needsLabel ()
 
 isSubmitAttempt (WebRequest $request)
 
 getLabelAlignOOUI ()
 
 getFieldLayoutOOUI ($inputField, $config)
 
 shouldInfuseOOUI ()
 
 getOOUIModules ()
 
 getMessage ($value)
 

Static Protected Member Functions

static getMessageFromParams ($params)
 
- Static Protected Member Functions inherited from HTMLFormField
static formatErrors ($errors)
 

Protected Attributes

 $msg
 
 $lines = []
 
 $html
 
 $selected
 
- Protected Attributes inherited from HTMLFormField
 $mValidationCallback
 
 $mFilterCallback
 
 $mName
 
 $mDir
 
 $mLabel
 
 $mID
 
 $mClass = ''
 
 $mVFormClass = ''
 
 $mHelpClass = false
 
 $mDefault
 
 $mOptions = false
 
 $mOptionsLabelsNotFromMessage = false
 
 $mHideIf = null
 
 $mShowEmptyLabels = true
 

Additional Inherited Members

- Static Public Member Functions inherited from HTMLFormField
static forceToStringRecursive ($array)
 
static flattenOptions ($options)
 
- Public Attributes inherited from HTMLFormField
 $mParams
 
 $mParent
 

Detailed Description

A License class for use on Special:Upload

Constructor & Destructor Documentation

Licenses::__construct (   $params)

#@-

Parameters
array$params

Member Function Documentation

Licenses::buildLine (   $line)
protected
Parameters
string$line
Returns
License
Licenses::getInputHTML (   $value)

{}

Licenses::getLicenses ( )

Accessor for $this->lines

Returns
array
Deprecated:
since 1.31 Use getLines() instead
Licenses::getLines ( )

#@- Accessor for $this->lines

Returns
array
static Licenses::getMessageFromParams (   $params)
staticprotected
Parameters
array$params
Returns
string
Licenses::makeHtml (   $tagset,
  $depth = 0 
)
protected
Parameters
array$tagset
int$depth
Returns
string
Licenses::outputOption (   $message,
  $value,
  $attribs = null,
  $depth = 0 
)
protected
Parameters
string$message
string$value
null | array$attribs
int$depth
Returns
string
Licenses::stackItem ( $list,
  $path,
  $item 
)
protected
Parameters
array&$list
array$path
mixed$item
Licenses::trimStars (   $str)
protected
Parameters
string$str
Returns
array

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