Common

# Class: ServerProjectHandler Source Location: /server/ServerProjectHandler.php
### Class Overview
    ProjectHandler
       |
       --ServerProjectHandler
Project handler for the server | ### Variables $mapId $projectName | ### Methods __construct getProjectName setByMapId
### Inherited Constants #### Class: ProjectHandler ProjectHandler::DEFAULT_PROJECT ProjectHandler::HIDDEN_PROJECTS ProjectHandler::PROJECT_DIR | ### Inherited Variables #### Class: ProjectHandler ProjectHandler::$mapName | ### 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::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 59]
`string getProjectName( )`
#### Tags:
access: | public
Overrides ProjectHandler::getProjectName() (Returns the project name) [ Top ] ### method setByMapId [line 67]
`void setByMapId( string $mapId)`
Sets projectName and mapName, extracted from mapId value. #### Tags:
access: | private
#### Parameters:
string | $mapId |
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:05 +0200 by phpDocumentor 1.3.0RC3