Abstract Class Giscuit_Controller_Ows

Description

Abstract OWS service controller

  • copyright: Copyright (c) 2012 VEC
  • abstract:

Located in /Controller/Ows.php (line 28)

Zend_Controller_Action
   |
   --Giscuit_Controller_Ows
Variable Summary
 static array $accessNames
 static array $serviceNames
 ms_newowsrequestobj $_request
 array $_settings
Method Summary
 static log ( $service,  $access, integer $size,  $layers,  $extent,  $imageSize, string $type) void
 offlineAction () void
 privateAction () void
 publicAction () void
 tilecacheAction () void
 triggerError (string $text, [string $code = '']) void
 _addLayers (string $type) void
 _addMap () void
 _authenticate (string $account, string $password, [bool $md5Credential = false]) void
 _draw ( $type) void
 _formatLayers () void
 _getPath (string $path) string
 _getRequest () ms_newowsrequestobj
 _parseLayerOptions ( $options) array
 _parseRequest (ms_newowsrequestobj $request) void
Variables
static array $accessNames = array (
'1' => 'public' ,
'2' => 'private'
)
(line 78)

Access id to name

  • access: public
static array $serviceNames = array (
'1' => 'wms' ,
'2' => 'wfs' ,
'3' => 'web' ,
'4' => 'tilecache' ,
'5' => 'offline' ,
'6' => 'wcs'
)
(line 64)

Service id to name

  • access: public
Giscuit_Map_Map $_map (line 50)

Map

  • access: protected
ms_newowsrequestobj $_request (line 57)

Request

  • access: protected
array $_settings (line 43)

Layer settings

  • access: protected
Methods
static log (line 610)

Log ows request

  • access: public
void log ( $service,  $access, integer $size,  $layers,  $extent,  $imageSize, string $type)
  • string $type
  • integer $size
  • $service
  • $access
  • $layers
  • $extent
  • $imageSize
offlineAction (line 114)

Offline action

  • access: public
void offlineAction ()
privateAction (line 140)

Private action

  • access: public
void privateAction ()
publicAction (line 194)

Public action

  • access: public
void publicAction ()
tilecacheAction (line 88)

Tilecache action

  • access: public
void tilecacheAction ()
triggerError (line 598)

Trigger an OWS error

  • access: public
void triggerError (string $text, [string $code = ''])
  • string $text: Error message
  • string $code: Error code
_addLayers (line 320)

Add current layer to the map object

  • access: protected
void _addLayers (string $type)
  • string $type:
    • public - Add public layers
    • private - Add layers based on current authenticated user
    • tilecache - Add published layers
_addMap (line 212)

Initialize map

  • access: protected
void _addMap ()
_authenticate (line 281)

Authenticate

  • access: protected
void _authenticate (string $account, string $password, [bool $md5Credential = false])
  • string $account: User account name
  • string $password: User password
  • bool $md5Credential: Is password already encrypted with md5
_draw (line 449)

Dispatch the result

  • access: protected
void _draw ( $type)
  • $type
_formatLayers (line 380)

Set proper metadata and propreties for layers

  • access: protected
void _formatLayers ()
_getPath (line 566)

Get the layer path

  • access: protected
string _getPath (string $path)
  • string $path
_getRequest (line 519)

Add the request parameters to the request object

  • access: protected
ms_newowsrequestobj _getRequest ()
_parseLayerOptions (line 555)

Parse layer options

  • access: protected
array _parseLayerOptions ( $options)
  • array $options:
    _parseRequest (line 36)

    Parse the request object

    • abstract:
    • access: protected
    void _parseRequest (ms_newowsrequestobj $request)
    • ms_newowsrequestobj $request

    Documentation generated on Wed, 23 Jan 2013 15:54:47 +0000 by phpDocumentor 1.4.3