category Zend
package Zend_Tool
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

__config()

__config(array $options = array()

Parameters

$options

array

Get a configuration value

__get(string $name) : mixed

Parameters

$name

string

Returns

mixed

Check if a configuration value isset.

__isset(string $name) : boolean

Parameters

$name

string

Returns

boolean

__set()

__set(string $name, mixed $value) 

Parameters

$name

string

$value

mixed

__unset()

__unset(string $name) 

Parameters

$name

string

Check if the User profile has a configuration.

exists() : boolean

Returns

boolean

Get a configuration value.

get(string $name, string $defaultValue = null) : mixed

Parameters

$name

string

$defaultValue

string

Returns

mixed

Return the filepath of the configuration.

getConfigFilepath() : string

Returns

string

getConfigInstance()

getConfigInstance() : \Zend_Config

Exceptions

\Zend_Tool_Framework_Client_Exception

Returns

\Zend_Config

Save changes to the configuration into persistence.

save() : boolean

Returns

boolean

setConfigFilepath()

setConfigFilepath(string $configFilepath) : \Zend_Tool_Framework_Client_Config

Parameters

$configFilepath

string

Returns

\Zend_Tool_Framework_Client_Config

setOptions()

setOptions(array $options) 

Parameters

$options

array

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

getConfigWriter() : \Zend_Config_Writer_FileAbstract

Returns

\Zend_Config_Writer_FileAbstract

Load the configuration from the given path.

loadConfig(string $configFilepath) 

Parameters

$configFilepath

string

 Properties

 

$_config

$_config : \Zend_Config

Default

null
 

$_configFilepath

$_configFilepath 

Default

null