Zend Framework
1.12
|
Public Member Functions | |
getYamlEncoder () | |
Get callback for decoding YAML. | |
setYamlEncoder ($yamlEncoder) | |
Set callback for decoding YAML. | |
render () | |
Render a Zend_Config into a YAML config string. | |
![]() | |
setFilename ($filename) | |
Set the target filename. | |
setExclusiveLock ($exclusiveLock) | |
Set wether to exclusively lock the file or not. | |
write ($filename=null, Zend_Config $config=null, $exclusiveLock=null) | |
Write configuration to file. | |
render () | |
Render a Zend_Config into a config file string. | |
![]() | |
__construct (array $options=null) | |
Create a new adapter. | |
setConfig (Zend_Config $config) | |
Set options via a Zend_Config instance. | |
setOptions (array $options) | |
Set options via an array. | |
write () | |
Write a Zend_Config object to it's target. | |
Static Public Member Functions | |
static | encode ($data) |
Very dumb YAML encoder. | |
Static Protected Member Functions | |
static | _encodeYaml ($indent, $data) |
Service function for encoding YAML. | |
Protected Attributes | |
$_yamlEncoder = array('Zend_Config_Writer_Yaml', 'encode') | |
![]() | |
$_filename = null | |
$_exclusiveLock = false | |
![]() | |
$_skipOptions | |
$_config = null | |
|
staticprotected |
Service function for encoding YAML.
int | $indent | Current indent level |
array | $data | Data to encode |
|
static |
Very dumb YAML encoder.
Until we have Zend_Yaml...
array | $data | YAML data |
getYamlEncoder | ( | ) |
Get callback for decoding YAML.
render | ( | ) |
setYamlEncoder | ( | $yamlEncoder | ) |
Set callback for decoding YAML.
callable | $yamlEncoder | the decoder to set |
|
protected |