Tool/Framework/Client/Config.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Tool  
Subpackage
Framework  
Version
$Id$  

\Zend_Tool_Framework_Client_Config

Package: Zend_Tool
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Config $_config = null
Default valuenullDetails
Type
\Zend_Config
>VPropertyprotected$_configFilepath = null
Default valuenullDetails
Type
n/a

Methods

methodpublic__config(array $options = array()) : void

Parameters
NameTypeDescription
$optionsarray
methodpublic__get(string $name) : mixed

Get a configuration value

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
mixed
methodpublic__isset(string $name) : boolean

Check if a configuration value isset.

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
boolean
methodpublic__set(string $name, mixed $value) : void

Parameters
NameTypeDescription
$namestring
$valuemixed
methodpublic__unset(string $name) : void

Parameters
NameTypeDescription
$namestring
methodpublicexists() : bool

Check if the User profile has a configuration.

Returns
TypeDescription
bool
methodpublicget(string $name, string $defaultValue = null) : mixed

Get a configuration value.

Parameters
NameTypeDescription
$namestring
$defaultValuestring
Returns
TypeDescription
mixed
methodpublicgetConfigFilepath() : string

Return the filepath of the configuration.

Returns
TypeDescription
string
methodpublicgetConfigInstance() : \Zend_Config

Returns
TypeDescription
\Zend_Config
Throws
ExceptionDescription
\Zend_Tool_Framework_Client_Exception
methodprotectedgetConfigWriter() : \Zend_Config_Writer_FileAbstract

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

Returns
TypeDescription
\Zend_Config_Writer_FileAbstract
methodprotectedloadConfig(string $configFilepath) : void

Load the configuration from the given path.

Parameters
NameTypeDescription
$configFilepathstring
methodpublicsave() : bool

Save changes to the configuration into persistence.

Returns
TypeDescription
bool
methodpublicsetConfigFilepath(string $configFilepath) : \Zend_Tool_Framework_Client_Config

Parameters
NameTypeDescription
$configFilepathstring
Returns
TypeDescription
\Zend_Tool_Framework_Client_Config
methodpublicsetOptions(array $options) : void

Parameters
NameTypeDescription
$optionsarray
Documentation was generated by phpDocumentor 2.2.0 .