sTEFANs Subversion Web Contol (SWC)
Config
[ class tree: Swc ] [ index: Swc ] [ all elements ]

Class: DefaultConfigFactory

Source Location: /swc/config/std_config_factory.inc.php

Class DefaultConfigFactory

Class Overview

Implements the SwcConfigFactory that provides per default any SwcConfigs for several projects. Config is provided, SWC offers a list of all available (configured) projects.

Implements the SwcConfigFactory that provides per default any SwcConfigs for several projects. If more than one Config is provided, SWC offers a list of all available (configured) projects. In this example a config for test project 1 and for test project 2 is provided.

Located in /swc/config/std_config_factory.inc.php [line 71]



		
				Author(s):
		
API Tags:
See:  SwcConfigFactory

Information Tags:
Since:  v1.0.0

Properties

Methods

[ Top ]
Property Summary
mixed   $configs  
mixed   $instance  

[ Top ]
Method Summary
DefaultConfigFactory   __construct()   Singleton c'tor that instantiates SwcConfigs.
void   GetInstance()   Returns the single instance of this class.
array   GetSwcConfigs()   Returns an array with instances of prjoect configurations.
void   __clone()   Does nothing but prevent from cloning.

[ Top ]
Properties
mixed   $configs = NULL [line 74]
API Tags:
Access:  private


[ Top ]
mixed   $instance = NULL [line 73]
API Tags:
Access:  private


[ Top ]
Methods
Constructor __construct  [line 113]

  DefaultConfigFactory __construct( )

Singleton c'tor that instantiates SwcConfigs.

Singleton c'tor that instantiates SwcConfigs. Add the project configuration class for your projects here.


API Tags:
Access:  private

Information Tags:
Since:  v1.0.0

[ Top ]
GetInstance  [line 81]

  void GetInstance( )

Returns the single instance of this class.

Returns the single instance of this class.


API Tags:
Access:  public

Information Tags:
Since:  v1.0.0

[ Top ]
GetSwcConfigs  [line 94]

  array GetSwcConfigs( )

Returns an array with instances of prjoect configurations.

Returns an array with instances of prjoect configurations.


API Tags:
Return:  Array with SwcConfig objects.
Access:  public

Information Tags:
Since:  v1.0.0

[ Top ]
__clone  [line 103]

  void __clone( )

Does nothing but prevent from cloning.

Does nothing but prevent from cloning.


API Tags:
Access:  public

Information Tags:
Since:  v1.0.0

[ Top ]

Documentation generated on Fri, 03 Nov 2006 18:45:00 +0100 by phpDocumentor 1.3.0RC6
for sTEFANs POWERED BY eBC.bz