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

Public Member Functions

 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 getName ()
 
static getDefaultPropTypes ()
 
static getDefaultCargoTypes ()
 
static getHeight ( $other_args)
 
static getWidth ( $other_args)
 
static getHTML ( $cur_value, $input_name, $is_mandatory, $is_disabled, array $other_args)
 
static getParameters ()
 
static coordinatePartToNumber ( $coordinateStr)
 
static parseCoordinatesString ( $coordinatesString)
 
- 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 ()
 

Additional Inherited Members

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

Member Function Documentation

◆ coordinatePartToNumber()

static PFOpenLayersInput::coordinatePartToNumber (   $coordinateStr)
static

Parses one half of a set of coordinates into a number.

Copied from CargoStore::coordinatePartToNumber() in the Cargo extension.

Parameters
string$coordinateStr
Returns
int
Exceptions
MWException

◆ getHtmlText()

PFOpenLayersInput::getHtmlText ( )

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

Returns
string

◆ parseCoordinatesString()

static PFOpenLayersInput::parseCoordinatesString (   $coordinatesString)
static

Parses a coordinate string in (hopefully) any standard format.

Copied from CargoStore::parseCoordinateString() in the Cargo extension.

Parameters
string$coordinatesString
Returns
string|null

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