API documentation :: Docs For Class arbitCouchDbFacadeProjectManager
Packages:Interfaces:
Classes:
|
Core::Facade::arbitCouchDbFacadeProjectManagerClass arbitCouchDbFacadeProjectManagerFacade manager, responsible for selecting and modifying projects. Facade manager, responsible for selecting and modifying projects. Implements interfaces:arbitCouchDbFacadeBase | --arbitCouchDbFacadeProjectManagerAuthor(s):
Member Variables
Inherited Member Variables
Method Summary
Inherited Methods
Methods__construct
void
__construct(
)
Constructor The constructor ensures the correct configuration for the conenction by connecting on the first request to on of the facde classes. Constructor The constructor ensures the correct configuration for the conenction by connecting on the first request to on of the facde classes. Redefinition of:
connect
void
connect(
)
Connect to database Connect to the database with the connection parameters read from the configuration. Connect to database Connect to the database with the connection parameters read from the configuration. createProject
void
createProject(
string
$project
)
Create project Create a new project. the backend. Create project Create a new project. This should create required databases and alike in the backend. Parameters:
Implementation of:
getConnectionInformation
array
getConnectionInformation(
)
Parse the connection string Parse the usual URL into the required components. for the databases and returns an array containing the host and port as well as the user and password if provided. Parse the connection string Parse the usual URL into the required components. Sets the prefix used for the databases and returns an array containing the host and port as well as the user and password if provided. getDatabaseName
string
getDatabaseName(
)
Get current database name Build and return the name of the database from the prefix and the project name. Get current database name Build and return the name of the database from the prefix and the project name. removeProject
void
removeProject(
string
$project
)
Remove project Clean all project related data in the backend. Remove project Clean all project related data in the backend. Parameters:
Implementation of:
selectProject
void
selectProject(
string
$project
)
Select project Select the project currently selected in the UI, where we want to operate on. Select project Select the project currently selected in the UI, where we want to operate on. Parameters:
Implementation of:
setProject
void
setProject(
mixed
$project
)
Set the used project Sets the used project and perfom necessary initializations to the backend. Set the used project Sets the used project and perfom necessary initializations to the backend. Parameters:
verifyIntegrity
void
verifyIntegrity(
)
Verify backend integrity Verify backend integrity Implementation of:
Documentation generated on Mon, 05 Apr 2010 14:02:04 +0200 by phpDocumentor 1.4.3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||