Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Tool_Framework_Client_Config Class Reference

Public Member Functions

 __config ($options=array())
 
 setOptions (Array $options)
 
 setConfigFilepath ($configFilepath)
 
 getConfigFilepath ()
 Return the filepath of the configuration.
 
 get ($name, $defaultValue=null)
 Get a configuration value.
 
 __get ($name)
 Get a configuration value.
 
 __isset ($name)
 Check if a configuration value isset.
 
 __unset ($name)
 
 __set ($name, $value)
 
 exists ()
 Check if the User profile has a configuration.
 
 getConfigInstance ()
 
 save ()
 Save changes to the configuration into persistence.
 

Protected Member Functions

 loadConfig ($configFilepath)
 Load the configuration from the given path.
 
 getConfigWriter ()
 Get the config writer that corresponds to the current config file type.
 

Protected Attributes

 $_configFilepath = null
 
 $_config = null
 

Member Function Documentation

__config (   $options = array())
Parameters
array$options
__get (   $name)

Get a configuration value.

Parameters
string$name
Returns
mixed
__isset (   $name)

Check if a configuration value isset.

Parameters
string$name
Returns
boolean
__set (   $name,
  $value 
)
Parameters
string$name
mixed$value
__unset (   $name)
Parameters
string$name
exists ( )

Check if the User profile has a configuration.

Returns
bool
get (   $name,
  $defaultValue = null 
)

Get a configuration value.

Parameters
string$name
string$defaultValue
Returns
mixed
getConfigFilepath ( )

Return the filepath of the configuration.

Returns
string
getConfigInstance ( )
getConfigWriter ( )
protected

Get the config writer that corresponds to the current config file type.

Returns
Zend_Config_Writer_FileAbstract
loadConfig (   $configFilepath)
protected

Load the configuration from the given path.

Parameters
string$configFilepath
save ( )

Save changes to the configuration into persistence.

Returns
bool
setConfigFilepath (   $configFilepath)
Parameters
string$configFilepath
Returns
Zend_Tool_Framework_Client_Config
setOptions ( Array  $options)
Parameters
array$options

Member Data Documentation

$_config = null
protected
$_configFilepath = null
protected