Class org_geoprisma_proxy_file_FileGetProxy

Description

Class Proxy file when request is a get

  • author: Julien-Samuel Lacroix

Located in /org/geoprisma/proxy/file/FileGetProxy.php (line 23)

org_geoprisma_proxy_Proxy
   |
   --org_geoprisma_proxy_file_FileProxy
      |
      --org_geoprisma_proxy_file_FileGetProxy
Method Summary
string getAction ()
array getResourcesFromRequest (org_geoprisma_config_Config &$pobjConfig, [array $pobjRequest = null])
void process ()
void validateLayersFromRequest ([org_geoprisma_service_Service $pobjService = null], [ArrayObject $pobjArrayResources = null], [ArrayObject $pobjArrayLayers = null])
Methods
getAction (line 48)

Retourne le nom de l'action réaliser par le proxy (Create - Read - Update - Delete)

  • access: public
string getAction ()

Redefinition of:
org_geoprisma_proxy_Proxy::getAction()
Returns the name of the action done by this proxy (Create / Read / Update / Delete)
getResourcesFromRequest (line 85)

Returns an array of org_geoprisma_resource_Resource objects being accessed by the query.

  • access: public
array getResourcesFromRequest (org_geoprisma_config_Config &$pobjConfig, [array $pobjRequest = null])
  • org_geoprisma_config_Config &$pobjConfig: The config object
  • array $pobjRequest: The request array that contains the 'osmservice' and 'osmresource' parameters. Defaults to $_REQUEST.

Redefinition of:
org_geoprisma_proxy_Proxy::getResourcesFromRequest()
Returns an array of org_geoprisma_resource_Resource objects being accessed by the query.
process (line 34)

Foward the call end return the result

  • access: public
void process ()

Redefinition of:
org_geoprisma_proxy_Proxy::process()
Foward the call end return the result
validateLayersFromRequest (line 137)

Validate the 'layers' being accessed by the query. Each layer must be present in one of the specified resource datastore using a specified service.

  • access: public
void validateLayersFromRequest ([org_geoprisma_service_Service $pobjService = null], [ArrayObject $pobjArrayResources = null], [ArrayObject $pobjArrayLayers = null])
  • org_geoprisma_service_Service $pobjService: The service to use for validation. Defaults to the proxy service.
  • ArrayObject $pobjArrayResources: ArrayObject of resource objects. Defaults to the proxy resources.
  • ArrayObject $pobjArrayLayers: ArrayObject of layers to validate. Defaults to the layers returned by the proxy 'getLayers' method.

Redefinition of:
org_geoprisma_proxy_file_FileProxy::validateLayersFromRequest()
Validate the 'layers' being accessed by the query. Each layer must be present in one of the specified resource datastore using a specified service.

Inherited Methods

Inherited From org_geoprisma_proxy_file_FileProxy

org_geoprisma_proxy_file_FileProxy::getLayer()
org_geoprisma_proxy_file_FileProxy::getLayers()
org_geoprisma_proxy_file_FileProxy::validateLayersFromRequest()

Inherited From org_geoprisma_proxy_Proxy

org_geoprisma_proxy_Proxy::__construct()
org_geoprisma_proxy_Proxy::addParam()
org_geoprisma_proxy_Proxy::applyAccessFilter()
org_geoprisma_proxy_Proxy::areResourcesFromRequestAuthorized()
org_geoprisma_proxy_Proxy::echoJsonError()
org_geoprisma_proxy_Proxy::echoJsonResult()
org_geoprisma_proxy_Proxy::getAction()
org_geoprisma_proxy_Proxy::getLayers()
org_geoprisma_proxy_Proxy::getPathInfo()
org_geoprisma_proxy_Proxy::getRequestParams()
org_geoprisma_proxy_Proxy::getResources()
org_geoprisma_proxy_Proxy::getResourcesFromRequest()
org_geoprisma_proxy_Proxy::getService()
org_geoprisma_proxy_Proxy::process()
org_geoprisma_proxy_Proxy::setResources()
org_geoprisma_proxy_Proxy::validateLayersFromRequest()
org_geoprisma_proxy_Proxy::validateResourcesFromRequest()
Class Constants

Documentation generated on Mon, 20 Feb 2012 13:46:15 -0500 by phpDocumentor 1.4.1