Class OCSP_CONF

Description

openCSP class OCSP_CONF

Located in /common/OCSP_CONF.phpclass (line 31)


	
			
Direct descendents
Class Description
 class OCSP_CMS_CONF openCSP class OCSP_CMS_CONF
 class OCSP_PRODUCT_CONF openCSP class OCSP_PRODUCT_CONF
Class Constant Summary
 CLASS_SRC_FILE = __FILE__
Variable Summary
Method Summary
 static OCSP_CONF &getInstance ([string $system = 'OCSP'])
 OCSP_CONF __construct (string $system)
 void __destruct ()
 array getConfArrays ()
 string getDBType ()
 string getProjectConfPath ()
 string getProjectPath ()
 string getRequestKey ()
 void getTemplateValue ( $optName,  &$subKeys, [ $debug = False])
 mixed getValue (string $optName, [boolean $useCache = True], [boolean $useDB = False], [boolean $debug = False])
 void setConfArrays (array $confArr)
 void setValue (string $optName, mixed $value, [boolean $toCache = False], [boolean $toDB = False])
Variables
static mixed $instanceList = array() (line 52)

singleton instance

  • staticvar: array $instanceList:
  • access: protected
array $myCachedValues = Null (line 111)

cached values

is set to null here -> is_array can be used to check if the chache is loaded

  • access: protected
array $myDBValues = Null (line 128)

DB values

is set to null here -> is_array can be used to check if the db values are loaded

  • access: protected
mixed $mySystem = 'OCSP' (line 94)

system

  • access: protected
array $myValues = array() (line 101)

configuration values

  • access: protected
string $requestId = Null (line 143)

request id (unique key for the request)

  • access: protected
array $updateCacheValues = array() (line 118)

array of values to update in the cache

  • access: protected
array $updateDBValues = array() (line 135)

array of values to update in the db

  • access: protected
Methods
static getInstance (line 63)

returns the instance for a system

  • access: public
OCSP_CONF &getInstance ([string $system = 'OCSP'])
  • string $system

Redefined in descendants as:
Constructor __construct (line 154)

constructor

  • access: protected
OCSP_CONF __construct (string $system)
  • string $system
Destructor __destruct (line 162)

store all values on destruct

  • access: public
void __destruct ()
getConfArrays (line 267)

returns all configuration arrays

  • access: public
array getConfArrays ()
getDBType (line 372)

returns the database type

  • access: public
string getDBType ()
getProjectConfPath (line 345)

returns the absolute path of the project configuration files

  • access: public
string getProjectConfPath ()
getProjectPath (line 303)

returns the absolute path of the project

  • access: public
string getProjectPath ()
getRequestKey (line 399)

returns a unique key for the request

  • access: public
string getRequestKey ()
getTemplateValue (line 420)
  • access: public
void getTemplateValue ( $optName,  &$subKeys, [ $debug = False])
  • $optName
  • &$subKeys
  • $debug
getValue (line 189)

gets a config value

  • access: public
mixed getValue (string $optName, [boolean $useCache = True], [boolean $useDB = False], [boolean $debug = False])
  • string $optName
  • boolean $useCache
  • boolean $useDB
  • boolean $debug
setConfArrays (line 284)

sets all configuration arrays

  • access: public
void setConfArrays (array $confArr)
  • array $confArr
setValue (line 254)

sets a config value

  • access: public
void setValue (string $optName, mixed $value, [boolean $toCache = False], [boolean $toDB = False])
  • string $optName
  • mixed $value
  • boolean $toCache
  • boolean $toDB
Class Constants
CLASS_SRC_FILE = __FILE__ (line 40)

Documentation generated on Thu, 08 Jan 2009 17:45:21 +0100 by phpDocumentor 1.4.0a2