Class org_geoprisma_datastore_Datastore

Description

Classe de base des datastore, Lier aux fichier de configuration

  • author: Pascal Martin

Located in /org/geoprisma/datastore/Datastore.php (line 23)

org_geoprisma_ConfigElement
   |
   --org_geoprisma_datastore_Datastore
Method Summary
org_geoprisma_datastore_Datastore __construct (string $pstrName, org_geoprisma_service_Service &$pobjService, [string $pstrLayers = null], [array $pobjArrayOptions = null])
ArrayObject getLayers ()
string getLayerString ()
string getName ()
org_geoprisma_option_Option getOption (string $pstrName, [boolean $pbSkipError = false])
ArrayObject getOptions ()
void insertIntoXML ( &$pobjDomElementDatastores,  &$pobjDomDocument)
boolean isAuthorizedLayer (string $pstrLayer)
Methods
Constructor __construct (line 44)

Construit un nouvelle instance de org_geoprisma_datastore_Datastore

  • access: public
org_geoprisma_datastore_Datastore __construct (string $pstrName, org_geoprisma_service_Service &$pobjService, [string $pstrLayers = null], [array $pobjArrayOptions = null])
  • string $pstrName: Datastore name
  • org_geoprisma_service_Service &$pobjService: Service object
  • string $pstrLayers: String of layers
  • array $pobjArrayOptions: Datastore options
getLayers (line 146)

Return the layers array object

  • access: public
ArrayObject getLayers ()
getLayerString (line 156)

Get layer string (separated by ',')

  • access: public
string getLayerString ()
getName (line 126)

Return the DataStore name

  • access: public
string getName ()
getOption (line 180)

Get a specific option using its name

  • access: public
org_geoprisma_option_Option getOption (string $pstrName, [boolean $pbSkipError = false])
  • string $pstrName: Option name
  • boolean $pbSkipError: Whether the method should skip throwing an error if no option is found.
getOptions (line 166)

Get all datastore options

  • access: public
ArrayObject getOptions ()
getService (line 136)

Return the Service object linked to this DataStore

  • access: public
insertIntoXML (line 211)

Ajout le datastore courant (this) dans le xml

  • access: public
void insertIntoXML ( &$pobjDomElementDatastores,  &$pobjDomDocument)
  • DOMElement &$pobjDomElementDatastores: Noeud xml ou le datastore doit être ajouter
  • DOMDocument &$pobjDomDocument: Document XMl ou le noeud xml datastore est ajouter, utiliser pour construire les noeuds
isAuthorizedLayer (line 111)

Check if the passed layer are authorized

  • return: true or false
  • access: public
boolean isAuthorizedLayer (string $pstrLayer)
  • string $pstrLayer: Layer Name

Inherited Methods

Inherited From org_geoprisma_ConfigElement

org_geoprisma_ConfigElement::getConfigElements()
org_geoprisma_ConfigElement::getDomElements()

Documentation generated on Thu, 19 Jan 2012 00:08:27 +0400 by phpDocumentor 1.4.1