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

Class: ServerProjectHandler

Source Location: /server/ServerProjectHandler.php

Class Overview

ProjectHandler
   |
   --ServerProjectHandler

Project handler for the server


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: ProjectHandler

ProjectHandler::getAvailableProjects()
Returns a list of available projects.
ProjectHandler::getMapName()
ProjectHandler::getPath()
Returns path for a file, depending on projects
ProjectHandler::getProjectName()
Returns the project name
ProjectHandler::getRootPath()
Returns cartoserver or cartoclient root path.
ProjectHandler::isProjectFile()
Finds out if a file or directory exists in project

Class Details

[line 35]
Project handler for the server

Project name is know by mapId.




[ Top ]


Class Variables

$mapId =

[line 45]



Tags:

access:  public

Type:   string


[ Top ]

$projectName =

[line 40]



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 51]

ServerProjectHandler __construct( string $mapId)

Constructor



Tags:

access:  public


Parameters:

string   $mapId   map id

[ Top ]

method getProjectName [line 67]

string getProjectName( )



Tags:

access:  public


Overrides ProjectHandler::getProjectName() (Returns the project name)

[ Top ]

method getRootPath [line 60]

string getRootPath( )



Tags:

access:  public
see:  ProjectHandler::getRootPath()


Overrides ProjectHandler::getRootPath() (Returns cartoserver or cartoclient root path.)

[ Top ]

method setByMapId [line 75]

void setByMapId( string $mapId)

Sets projectName and mapName, extracted from mapId value.



Tags:

access:  private


Parameters:

string   $mapId  

[ Top ]


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