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

Class: SymlinkUrlProvider

Source Location: /common/ResourceHandler.php

Class Overview

UrlProvider
   |
   --SymlinkUrlProvider

Url provider for accessing files directly through the web server


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 85]
Url provider for accessing files directly through the web server

Such files are thus accessed via the htdocs directory of cartoweb. The files may be put there using symbolic links, or may be copied directly.




[ Top ]


Class Methods


method getGeneratedUrl [line 123]

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 90]

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 115]

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