Common
[ class tree: Common ] [ index: Common ] [ all elements ]

Class: MiniproxyUrlProvider

Source Location: /common/ResourceHandler.php

Class Overview

UrlProvider
   |
   --MiniproxyUrlProvider

Url provider for accessing files through a mini-proxy


Methods


Inherited Variables

Inherited Methods

Class: UrlProvider

UrlProvider::__construct()
Constructor
UrlProvider::getGeneratedUrl()
Returns an URL to access files inside the directory of generated files (like generated mapserver images, pdf files, ...) This can be used for server or client resources.
UrlProvider::getHtdocsUrl()
Returns the URL for resources in htdocs directory (may be in projects and plugins) This is only relevent for client resources.
UrlProvider::getIconUrl()
Returns an URL to access icon images inside icons subdirectory where the mapfile is located.

Class Details

[line 136]
Url provider for accessing files through a mini-proxy

This is a php script which reads the requested files directly from filesystem, and returns them to the client.




[ Top ]


Class Methods


method buildQuery [line 141]

void buildQuery( mixed $queryParams, mixed $resource)

build the final URL to the miniproxy.



Tags:

access:  private


[ Top ]

method getGeneratedUrl [line 181]

void getGeneratedUrl( mixed $resource)



Tags:

access:  public
see:  UrlProvider::getGeneratedUrl()


Overrides UrlProvider::getGeneratedUrl() (Returns an URL to access files inside the directory of generated files (like generated mapserver images, pdf files, ...) This can be used for server or client resources.)

[ Top ]

method getHtdocsUrl [line 151]

void getHtdocsUrl( mixed $plugin, mixed $project, mixed $resource)



Tags:

access:  public
see:  UrlProvider::getHtdocsUrl()


Overrides UrlProvider::getHtdocsUrl() (Returns the URL for resources in htdocs directory (may be in projects and plugins) This is only relevent for client resources.)

[ Top ]

method getIconUrl [line 167]

void getIconUrl( mixed $project, mixed $mapId, mixed $resource)



Tags:

access:  public
see:  UrlProvider::getIconUrl()


Overrides UrlProvider::getIconUrl() (Returns an URL to access icon images inside icons subdirectory where the mapfile is located.)

[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:54 +0200 by phpDocumentor 1.3.0RC3