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

 Methods

Create a new adapter

__construct(array $options) 
Inherited

$options can only be passed as array or be omitted

inherited_from \Zend_Config_Writer::__construct()

Parameters

$options

nullarray

Set options via a Zend_Config instance

setConfig(Zend_Config $config) : \Zend_Config_Writer
Inherited

inherited_from \Zend_Config_Writer::setConfig()

Parameters

$config

\Zend_Config

Returns

Set wether to exclusively lock the file or not

setExclusiveLock(boolean $exclusiveLock) : \Zend_Config_Writer_Array

Parameters

$exclusiveLock

boolean

Returns

Set the target filename

setFilename(string $filename) : \Zend_Config_Writer_Array

Parameters

$filename

string

Returns

Set options via an array

setOptions(array $options) : \Zend_Config_Writer
Inherited

inherited_from \Zend_Config_Writer::setOptions()

Parameters

$options

array

Returns

Defined by Zend_Config_Writer

write(string $filename, Zend_Config $config, boolean $exclusiveLock) : void

Parameters

$filename

string

$config

\Zend_Config

$exclusiveLock

boolean

Exceptions

\Zend_Config_Exception When filename was not set
\Zend_Config_Exception When filename is not writable

 Properties

 

Config object to write

$_config : \Zend_Config
Inherited

inherited_from \Zend_Config_Writer::$$_config
 

Wether to exclusively lock the file or not

$_exclusiveLock : boolean

 

Filename to write to

$_filename : string

 

Option keys to skip when calling setOptions()

$_skipOptions : array
Inherited

inherited_from \Zend_Config_Writer::$$_skipOptions