r82896 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82895‎ | r82896 | r82897 >
Date:16:29, 27 February 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added in six new global variables, for input-type registration
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Settings.php
@@ -113,9 +113,19 @@
114114 # Page properties, used for the API
115115 # ##
116116 $wgPageProps['formdefinition'] = 'Definition of the semantic form used on the page';
 117+
 118+# ##
 119+# Global variables for registering input types
 120+# ##
 121+$sfgDefaultInputForPropType = array();
 122+$sfgDefaultInputForPropTypeList = array();
 123+$sfgPossibleInputsForPropType = array();
 124+$sfgPossibleInputsForPropTypeList = array();
117125
118126 # ##
119127 # Global variables for Javascript
120128 # ##
121129 $sfgShowOnSelect = array();
122130 $sfgAutocompleteValues = array();
 131+$sfgInitJSFunctions = array();
 132+$sfgValidationJSFunctions = array();