category Zend
package Zend_Config
subpackage Writer

 Methods

processConfig(): defined by AbstractWriter.

processConfig(array $config) : string

Parameters

$config

array

Returns

string

toFile(): defined by Writer interface.

toFile(string $filename, mixed $config, bool $exclusiveLock) : void
Inherited

see \Zend\Config\Writer\WriterInterface::toFile()
inherited_from \Zend\Config\Writer\AbstractWriter::toFile()

Parameters

$filename

string

$config

mixed

$exclusiveLock

bool

Exceptions

\Zend\Config\Exception\InvalidArgumentException
\Zend\Config\Exception\RuntimeException

toString(): defined by Writer interface.

toString(mixed $config) : string
Inherited

see \Zend\Config\Writer\WriterInterface::toString()
inherited_from \Zend\Config\Writer\AbstractWriter::toString()

Parameters

$config

mixed

Exceptions

\Zend\Config\Exception\InvalidArgumentException

Returns

string

Add a branch to an XML object recursively.

addBranch(string $branchName, array $config, \XMLWriter $writer) : void

Parameters

$branchName

string

$config

array

$writer

\XMLWriter

Exceptions

\Zend\Config\Exception\RuntimeException