| 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
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_Xml
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
$exclusiveLock
boolean
Exceptions
Add a branch to an INI string recursively
_addBranch(Zend_Config $config, $parents) : void
Prepare a value for INI
_prepareValue(mixed $value) : string
Parameters
$value
mixed
Returns
string
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
String that separates nesting levels of configuration data identifiers
$_nestSeparator : string
Option keys to skip when calling setOptions()
$_skipOptions : array
Inherited
| inherited_from |
\Zend_Config_Writer::$$_skipOptions |