Public Member Functions | |
| __construct (iMappingService $service) | |
| Constructor. | |
| getInputOutput ($coordinates, $input_name, $is_mandatory, $is_disabled, array $params) | |
Public Attributes | |
| const | SEPARATOR = ';' |
Protected Member Functions | |
| getParameterInfo () | |
| Returns an array containing the parameter info. | |
| getInputHTML (array $params, Parser $parser, $mapName) | |
| Returns the HTML to display the map input. | |
| getJSON (array $params, Parser $parser, $mapName) | |
| Returns the JSON with the maps data. | |
| getJSONObject (array $params, Parser $parser) | |
| Returns a PHP object to encode to JSON with the map data. | |
| getResourceModules () | |
Protected Attributes | |
| $service | |
Definition at line 12 of file SM_FormInput.php.
| SMFormInput::__construct | ( | iMappingService $ | service | ) |
Constructor.
| iMappingService | $service |
Definition at line 37 of file SM_FormInput.php.
| SMFormInput::getParameterInfo | ( | ) | [protected] |
Returns an array containing the parameter info.
Definition at line 48 of file SM_FormInput.php.
References $smgFIFieldSize, and $smgFIMulti.
Referenced by getInputOutput().
| SMFormInput::getInputOutput | ( | $ | coordinates, | |
| $ | input_name, | |||
| $ | is_mandatory, | |||
| $ | is_disabled, | |||
| array $ | params | |||
| ) |
| string | $coordinates | |
| string | $input_name | |
| boolean | $is_mandatory | |
| boolean | $is_disabled | |
| array | $field_args |
Definition at line 101 of file SM_FormInput.php.
References getInputHTML(), getJSON(), getParameterInfo(), and getResourceModules().
| SMFormInput::getInputHTML | ( | array $ | params, | |
| Parser $ | parser, | |||
| $ | mapName | |||
| ) | [protected] |
Returns the HTML to display the map input.
| array | $params | |
| Parser | $parser | |
| string | $mapName |
Definition at line 173 of file SM_FormInput.php.
Referenced by getInputOutput().
| SMFormInput::getJSON | ( | array $ | params, | |
| Parser $ | parser, | |||
| $ | mapName | |||
| ) | [protected] |
Returns the JSON with the maps data.
| array | $params | |
| Parser | $parser | |
| string | $mapName |
Definition at line 195 of file SM_FormInput.php.
References getJSONObject().
Referenced by getInputOutput().
| SMFormInput::getJSONObject | ( | array $ | params, | |
| Parser $ | parser | |||
| ) | [protected] |
Returns a PHP object to encode to JSON with the map data.
| array | $params | |
| Parser | $parser |
Reimplemented in SMGoogleMaps3MultiInput, and SMOpenLayersFormInput.
Definition at line 218 of file SM_FormInput.php.
Referenced by getJSON().
| SMFormInput::getResourceModules | ( | ) | [protected] |
Reimplemented in SMGoogleMaps3FormInput, SMGoogleMaps3MultiInput, SMOpenLayersFormInput, and SMYahooMapsFormInput.
Definition at line 227 of file SM_FormInput.php.
Referenced by getInputOutput().
SMFormInput::$service [protected] |
Definition at line 19 of file SM_FormInput.php.
| const SMFormInput::SEPARATOR = ';' |
Definition at line 28 of file SM_FormInput.php.
1.5.6