Plugins

# Class: OwsInfoHarwester Source Location: /plugins/wmsBrowserLight/client/OwsInfoHarwester.php
### Class Overview
Used to parse Capability file from a WMS services. | ### Variables $response | ### Constants DEFAULT_WMS_VERSION | ### Methods getLayers getScale getWmsLayers
### Class Details [line 30] Used to parse Capability file from a WMS services. Call by WmsBrowserLight plugin using Ajax. [ Top ] ### Class Variables #### $response = [line 36] HTML response to return. #### Tags:
access: | public
Type: | string
[ Top ] ### Class Methods ### method getLayers [line 50]
`void getLayers( array $xml, string $depth)`
getLayers in a xml (capabilities) doc and create an HTML option form element #### Tags:
access: | protected
#### Parameters:
array | $xml | xml which correspond to a layer node from a GetCapabilities document
string | $depth | depth could be used to indicate the current depth of the layer node
[ Top ] ### method getScale [line 117]
`array getScale( service $url, name $name, mixed $service, mixed $version)`
Get Scale info from capabilities #### Tags:
return: | min and max scale info
access: | protected
#### Parameters:
service | $url | url
name | $name |
[ Top ] ### method getWmsLayers [line 81]
`void getWmsLayers( string $url)`
getWmsLayers #### Tags:
access: | public
#### Parameters:
string | $url | url is the url of the service to contact
[ Top ] ### Class Constants #### DEFAULT_WMS_VERSION = '1.1.1' [line 42] WMS Version to use [ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:56 +0200 by phpDocumentor 1.3.0RC3