Zend Framework
1.12
|
Public Member Functions | |
setNestSeparator ($separator) | |
Set the nest separator. | |
setRenderWithoutSections ($withoutSections=true) | |
Set if rendering should occour without sections or not. | |
render () | |
Render a Zend_Config into a INI 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. | |
Protected Member Functions | |
_addBranch (Zend_Config $config, $parents=array()) | |
Add a branch to an INI string recursively. | |
_prepareValue ($value) | |
Prepare a value for INI. | |
_sortRootElements (Zend_Config $config) | |
Root elements that are not assigned to any section needs to be on the top of config. | |
Protected Attributes | |
$_nestSeparator = '.' | |
$_renderWithoutSections = false | |
![]() | |
$_filename = null | |
$_exclusiveLock = false | |
![]() | |
$_skipOptions | |
$_config = null | |
|
protected |
|
protected |
|
protected |
Root elements that are not assigned to any section needs to be on the top of config.
Zend_Config |
render | ( | ) |
setNestSeparator | ( | $separator | ) |
setRenderWithoutSections | ( | $withoutSections = true | ) |
Set if rendering should occour without sections or not.
If set to true, the INI file is rendered without sections completely into the global namespace of the INI file.
bool | $withoutSections |
|
protected |
|
protected |