SemanticMaps/includes/forminputs/SM_FormInputs.php File Reference

Initialization file for form input functionality in the Maps extension. More...

Go to the source code of this file.

Classes

class  SMFormInputs

Functions

 smfSelectFormInputHTML ($coordinates, $input_name, $is_mandatory, $is_disabled, array $field_args)
 Calls the relevant form input class depending on the provided service.

Variables

if(!defined( 'MEDIAWIKI')) $wgResourceModules ['ext.sm.forminputs']
 $wgHooks ['MappingFeatureLoad'][] = 'SMFormInputs::initialize'


Detailed Description

Initialization file for form input functionality in the Maps extension.

GNU GPL v3

Author:
Jeroen De Dauw < jeroendedauw@gmail.com >

Definition in file SM_FormInputs.php.


Function Documentation

smfSelectFormInputHTML ( coordinates,
input_name,
is_mandatory,
is_disabled,
array $  field_args 
)

Calls the relevant form input class depending on the provided service.

Parameters:
string $coordinates
string $input_name
boolean $is_mandatory
boolean $is_disabled
array $field_args
Returns:
array

Definition at line 111 of file SM_FormInputs.php.


Variable Documentation

$wgHooks['MappingFeatureLoad'][] = 'SMFormInputs::initialize'

Definition at line 35 of file SM_FormInputs.php.

if (!defined( 'MEDIAWIKI')) $wgResourceModules['ext.sm.forminputs']

Initial value:

 array(
        'dependencies' => array( 'ext.maps.coord' ),
        'localBasePath' => dirname( __FILE__ ),
        'remoteBasePath' => $smgScriptPath .  '/includes/forminputs',   
        'group' => 'ext.semanticmaps',
        'scripts' => array(
                'jquery.mapforminput.js'
        ),
        'messages' => array(
                'semanticmaps_enteraddresshere',
                'semanticmaps-updatemap',
                'semanticmaps_lookupcoordinates',
                'semanticmaps-forminput-remove',
                'semanticmaps-forminput-add',
                'semanticmaps-forminput-locations'
        )
)

Definition at line 17 of file SM_FormInputs.php.

Referenced by SMWOutputs::processModuleBC(), and smwfRegisterResourceLoaderModules().


Generated on Thu Feb 9 07:15:36 2012 for Semantic MediaWiki by  doxygen 1.5.6