Abstract File Writer
category | Zend |
---|---|
package | Zend_Config |
copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Config_Writer_FileAbstract |
__construct(null|array $options = null
)
$options can only be passed as array or be omitted
null
array
encode(array $data) : string
Until we have Zend_Yaml...
array
YAML data
string
getYamlEncoder() : callable
callable
render() : string
since | 1.10 |
---|---|
inherited_from | \Zend_Config_Writer_FileAbstract::render() |
string
render() : string
since | 1.10 |
---|---|
todo | For 2.0 this should be redone into an abstract method. |
string
setConfig(\Zend_Config $config) : \Zend_Config_Writer
\Zend_Config
\Zend_Config_Writer
setExclusiveLock(boolean $exclusiveLock) : \Zend_Config_Writer_Array
boolean
\Zend_Config_Writer_Array
setFilename(string $filename) : \Zend_Config_Writer_Array
string
\Zend_Config_Writer_Array
setOptions(array $options) : \Zend_Config_Writer
array
\Zend_Config_Writer
setYamlEncoder(callable $yamlEncoder) : \Zend_Config_Yaml
callable
the decoder to set
\Zend_Config_Yaml
write() : void
_encodeYaml(integer $indent, array $data) : string
integer
Current indent level
array
Data to encode
string
$_config : \Zend_Config
null
$_exclusiveLock : boolean
false
$_filename : string
null
$_skipOptions : array
array('options')
$_yamlEncoder : callable
array('Zend_Config_Writer_Yaml', 'encode')