Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitFacadeManager

Core::Facade::arbitFacadeManager

Class arbitFacadeManager

Basic struct class with optional value validation when the __set method gets overwritten in the child classes.

Basic struct class with optional value validation when the __set method gets overwritten in the child classes.

Author(s):
Version:   $Revision: 1385 $
License:   GPL

Member Variables

protected static string $backend
Used backend implementation

Used backend implementation

protected static array $facadeClasses
Per backend list of facade classes

Per backend list of facade classes

protected static array $instances
Already instantiated facades, which may just be returned on request, without reinstantiation.

Already instantiated facades, which may just be returned on request, without reinstantiation.

protected static array $manager
Per backend list of facade managers, which are responsible for creating or removing projects.

Per backend list of facade managers, which are responsible for creating or removing projects.

protected static arbitFacadeProjectManager $managerInstance
Manager instance depending on the selected backend.

Manager instance depending on the selected backend.

Method Summary

protected static void checkBackend( )
Check backend Sets the backend from the configuration file, if not yet done. executing this method you can expect the backend tobe properly set.
public static void createProject( $project )
Create project Create a new project. the backend.
public static string getFacade( $name )
Get facede of requested type.
public static arbitFacadeProjectManager getSetUpManager( )
Get facade manager Get the facade setup manager to select / create and remove projects.
public static void removeProject( $project )
Remove project Clean all project related data in the backend.
public static void selectProject( $project )
Select project Select the project currently selected in the UI, where we want to operate on.
public static void setFacade( $backend , $name , $class )
Set facade class for one backend Sets a facade class used for a specified facade ind the specified backend.

Methods

checkBackend

static void checkBackend( )

Check backend Sets the backend from the configuration file, if not yet done. executing this method you can expect the backend tobe properly set.

Check backend Sets the backend from the configuration file, if not yet done. After executing this method you can expect the backend tobe properly set.

createProject

static 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:
Name Type Description
$project string

getFacade

static string getFacade( string $name )

Get facede of requested type.

Get facede of requested type. Get the facade class name for a requested backend, identified by its name.

Parameters:
Name Type Description
$name string

getSetUpManager

static arbitFacadeProjectManager getSetUpManager( )

Get facade manager Get the facade setup manager to select / create and remove projects.

Get facade manager Get the facade setup manager to select / create and remove projects.

removeProject

static 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:
Name Type Description
$project string

selectProject

static 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:
Name Type Description
$project string

setFacade

static void setFacade( string $backend , string $name , string $class )

Set facade class for one backend Sets a facade class used for a specified facade ind the specified backend.

Set facade class for one backend Sets a facade class used for a specified facade ind the specified backend.

Parameters:
Name Type Description
$backend string
$name string
$class string
Documentation generated on Mon, 05 Apr 2010 14:02:03 +0200 by phpDocumentor 1.4.3