Exemple #1
0
 /**
  * Returns a list of all config variables that should be passed to the JS.
  *
  * @since 1.0.1
  *
  * @return array
  */
 public function getConfigVariables()
 {
     return array_merge(parent::getConfigVariables(), array('egMapsScriptPath' => $GLOBALS['wgScriptPath'] . '/extensions/Maps/'));
 }
 /**
  * Returns a list of all config variables that should be passed to the JS.
  * 
  * @since 1.0.1
  * 
  * @return array
  */
 public final function getConfigVariables()
 {
     return parent::getConfigVariables() + array('egGoogleJsApiKey' => $GLOBALS['egGoogleJsApiKey']);
 }
 /**
  * Returns a list of all config variables that should be passed to the JS.
  *
  * @since 1.0.1
  *
  * @return array
  */
 public function getConfigVariables()
 {
     return array_merge(parent::getConfigVariables(), array('egMapsScriptPath' => $GLOBALS['egMapsScriptPath']));
 }