API Documentation

Config/Writer/Ini.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Config
version
$Id: Ini.php 22869 2010-08-21 13:57:59Z ramon $
Classes
Zend_Config_Writer_Ini

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Config_Writer_Ini

Extends from
Zend_Config_Writer_FileAbstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Config
Properties
$_nestSeparator
$_renderWithoutSections
Methods
setNestSeparator
setRenderWithoutSections
render
_addBranch
_prepareValue
_sortRootElements

Description

Properties

$_nestSeparator

string $_nestSeparator = '.'

String that separates nesting levels of configuration data identifiers

Details

$_nestSeparator
string
visibility
protected
default
.
final
false
static
false

$_renderWithoutSections

bool $_renderWithoutSections = 'false'

If true the ini string is rendered in the global namespace without sections.

Details

$_renderWithoutSections
bool
visibility
protected
default
false
final
false
static
false

Methods

_addBranch

_addBranch( Zend_Config $config,  $parents = array ) : void

Add a branch to an INI string recursively

Arguments
$config
Zend_Config
$parents
Details
visibility
protected
final
false
static
false

_prepareValue

_prepareValue( mixed $value ) : string

Prepare a value for INI

Arguments
$value
mixed
Output
string
Details
visibility
protected
final
false
static
false

_sortRootElements

_sortRootElements(  $config ) : Zend_Config

Root elements that are not assigned to any section needs to be on the top of config.

Arguments
$config
Zend_Config
Output
Zend_Config
Details
visibility
protected
final
false
static
false
see
http://framework.zend.com/issues/browse/ZF-6289

render

render( ) : string

Render a Zend_Config into a INI config string.

Output
string
Details
visibility
public
final
false
static
false
since
1.10

setNestSeparator

setNestSeparator(  $separator ) : Zend_Config_Writer_Ini

Set the nest separator

Arguments
$separator
Details
visibility
public
final
false
static
false

setRenderWithoutSections

setRenderWithoutSections( bool $withoutSections = true ) : Zend_Config_Writer_Ini

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.

Arguments
$withoutSections
bool
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.