[Mapbender-commits] r7381 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 22 16:56:03 EST 2010


Author: astrid_emde
Date: 2010-12-22 13:56:03 -0800 (Wed, 22 Dec 2010)
New Revision: 7381

Modified:
   trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php
Log:
js doc added

Modified: trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php	2010-12-22 21:22:59 UTC (rev 7380)
+++ trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php	2010-12-22 21:56:03 UTC (rev 7381)
@@ -1,28 +1,58 @@
 <?php
 /**
- * Package: <Application element name>
+ * Package: AddWMSfromfilteredList_ajax
  *
  * Description:
- * <A description>
+ * Shows all WMS services contained in an authorized GUI
+ * Shows list of all available WMS with abstract description
+ * Adds selected WMS to current application
+ * checkbox to ctivate layer on load, checkbox to zoom to WMS extent on load
  *
  * Files:
- *  - <path and filename, like http/javascripts/mod_zoomIn1.php>
+ *  - http/javascripts/mod_addWMSfromfilteredList_ajax.php
  *
  * SQL:
- * > <SQL for element>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, 
+ * > e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, 
+ * > e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, 
+ * > e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES(
+ * > '<app_id>','addWMSfromfilteredList_ajax',2,1,'add a WMS to the running application from a filtered list',
+ * > 'Adding WMS from filtered list','img','../img/button_gray/add_filtered_list_off.png',
+ * > '',620,60,24,24,1,'','','','mod_addWmsFromFilteredList_button.php',
+ * > 'mod_addWMSgeneralFunctions.js,popup.js','treeGDE,mapframe1','loadData',
+ * > 'http://www.mapbender.org/index.php/Add_WMS_from_filtered_list');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'capabilitiesInput', 
+ * > '1', 'load wms by capabilities url' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'option_dball',
+ * > '1', '1 enables option "load all configured wms from db"' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
+ * > context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'option_dbgroup',
+ * > '0', '1 enables option "load configured wms by group"' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
+ * > context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'option_dbgui', 
+ * > '0', '1 enables option "load configured wms by application"' ,'var');
  * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES
+ * > ('<app_id>', 'addWMSfromfilteredList_ajax', 'addwms_showWMS', '4', '' ,'var');
  *
  * Help:
- * http://www.mapbender.org/<wiki site name>
+ * http://www.mapbender.org/Add_WMS_from_filtered_list_%28AJAX%29
  *
  * Maintainer:
- * http://www.mapbender.org/User:<user>
+ * http://www.mapbender.org/User:Christoph_Baudson
  *
  * Parameters:
- * <normal element var name>      - <type and description>
- * <optional element var name>    - *[optional]* <type and description>
- * <deprecated element var name>  - *[deprecated]* <type and description>
+ * addwms_showWMS 		- x
+ * capabilitiesInput - show input field to load wms by capabilities url
+ * option_dball		- load all configured wms from db
+ * option_dbgroup		- load configured wms by group
+ * option_dbgui		- load configured wms by application
  *
  * License:
  * Copyright (c) 2009, Open Source Geospatial Foundation



More information about the Mapbender_commits mailing list