\Zend_Config_Writer_Ini
- Copyright: Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Config_Writer_Ini
extends Zend_Config_Writer_FileAbstract
{
- // members
- protected $_nestSeparator;
- protected bool $_renderWithoutSections;
- // Inherited members from Zend_Config_Writer_FileAbstract
- protected $_filename;
- protected $_exclusiveLock;
- // Inherited members from Zend_Config_Writer
- protected $_skipOptions;
- protected Zend_Config $_config;
- // methods
- public Zend_Config_Writer_Ini setNestSeparator()
- public Zend_Config_Writer_Ini setRenderWithoutSections()
- public string render()
- protected void _addBranch()
- protected string _prepareValue()
- protected Zend_Config _sortRootElements()
- // Inherited methods from Zend_Config_Writer_FileAbstract
- public Zend_Config_Writer_Array setFilename()
- public Zend_Config_Writer_Array setExclusiveLock()
- public void write()
- public string render()
- // Inherited methods from Zend_Config_Writer
- public void __construct()
- public Zend_Config_Writer setConfig()
- public Zend_Config_Writer setOptions()
- public abstract void write()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
130+ | For 2.0 this should be redone into an abstract method. |
Members
protected
- $_config
—
Zend_Config
Config object to write - $_exclusiveLock
—
boolean
Wether to exclusively lock the file or not - $_filename
—
string
Filename to write to - $_nestSeparator
—
string
String that separates nesting levels of configuration data identifiers - $_renderWithoutSections
—
bool
If true the ini string is rendered in the global namespace without sections. - $_skipOptions
—
array
Option keys to skip when calling setOptions()
Methods
protected
- _addBranch() — Add a branch to an INI string recursively
- _prepareValue() — Prepare a value for INI
- _sortRootElements() — Root elements that are not assigned to any section needs to be on the top of config.
public
- render() — Render a Zend_Config into a INI config string.
- setNestSeparator() — Set the nest separator
- setRenderWithoutSections() — Set if rendering should occour without sections or not.
Inherited from Zend_Config_Writer_FileAbstract
public
- render() — Render a Zend_Config into a config file string.
- setExclusiveLock() — Set wether to exclusively lock the file or not
- setFilename() — Set the target filename
- write() — Write configuration to file.
Inherited from Zend_Config_Writer
public
- setConfig() — Set options via a Zend_Config instance
- setOptions() — Set options via an array
- write() — Write a Zend_Config object to it's target
History
-
2014-09-29T11:07:23+02:00 (commit #15b41ee)
Author: Sylvain Rayé (sylvain.raye@rissip.com) / Commiter: Sylvain Rayé (sylvain.raye@rissip.com)
Add dependency library Zend_Config. Useful only for Unit Testing