Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PFTextAreaInput Class Reference
Inheritance diagram for PFTextAreaInput:
Inheritance graph
[legend]
Collaboration diagram for PFTextAreaInput:
Collaboration graph
[legend]

Public Member Functions

 __construct ( $input_number, $cur_value, $input_name, $disabled, array $other_args)
 
 getResourceModuleNames ()
 
 getHtmlText ()
 
- Public Member Functions inherited from PFFormInput
 __construct ( $input_number, $cur_value, $input_name, $disabled, array $other_args)
 
 getDefaultParameters ()
 
 getHtmlText ()
 
 getJsInitFunctionData ()
 
 getJsValidationFunctionData ()
 
 getResourceModuleNames ()
 
 addJsInitFunctionData ( $name, $param=null)
 
 addJsValidationFunctionData ( $name, $param='null')
 
 addJavaScript ()
 

Static Public Member Functions

static getDefaultCargoTypes ()
 
static getDefaultCargoTypeLists ()
 
static getName ()
 
static getDefaultPropTypes ()
 
static getOtherPropTypesHandled ()
 
static getOtherPropTypeListsHandled ()
 
static getParameters ()
 
- Static Public Member Functions inherited from PFFormInput
static getName ()
 
static getHandledPropertyTypes ()
 
static getParameters ()
 
static canHandleLists ()
 
static getDefaultPropTypes ()
 
static getDefaultPropTypeLists ()
 
static getOtherPropTypesHandled ()
 
static getOtherPropTypeListsHandled ()
 
static getDefaultCargoTypes ()
 
static getDefaultCargoTypeLists ()
 
static getOtherCargoTypesHandled ()
 
static getOtherCargoTypeListsHandled ()
 

Protected Member Functions

 getTextAreaAttributes ()
 

Protected Attributes

 $mEditor = null
 
- Protected Attributes inherited from PFFormInput
 $mInputNumber
 
 $mCurrentValue
 
 $mInputName
 
 $mIsMandatory
 
 $mIsDisabled
 
 $mOtherArgs
 
 $mJsInitFunctionData = array()
 
 $mJsValidationFunctionData = array()
 

Constructor & Destructor Documentation

◆ __construct()

PFTextAreaInput::__construct (   $input_number,
  $cur_value,
  $input_name,
  $disabled,
array  $other_args 
)
Parameters
string$input_numberThe number of the input in the form. For a simple HTML input element this should end up in the id attribute in the format 'input_<number>'.
string$cur_valueThe current value of the input field. For a simple HTML input element this should end up in the value attribute.
string$input_nameThe name of the input. For a simple HTML input element this should end up in the name attribute.
bool$disabledIs this input disabled?
array$other_argsAn associative array of other parameters that were present in the input definition.

Member Function Documentation

◆ getHtmlText()

PFTextAreaInput::getHtmlText ( )

Returns the HTML code to be included in the output page for this input.

Returns
string

◆ getResourceModuleNames()

PFTextAreaInput::getResourceModuleNames ( )

Returns the names of the resource modules this input type uses.

Returns the names of the modules as an array or - if there is only one module - as a string.

Returns
null|string|array

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