Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Config_Writer_Json Class Reference

Public Member Functions

 prettyPrint ()
 Get prettyPrint flag.
 
 setPrettyPrint ($flag)
 Set prettyPrint flag.
 
 render ()
 Render a Zend_Config into a JSON config string.
 
- Public Member Functions inherited from Zend_Config_Writer_FileAbstract
 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.
 
- Public Member Functions inherited from Zend_Config_Writer
 __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 Attributes

 $_prettyPrint = false
 
- Protected Attributes inherited from Zend_Config_Writer_FileAbstract
 $_filename = null
 
 $_exclusiveLock = false
 
- Protected Attributes inherited from Zend_Config_Writer
 $_skipOptions
 
 $_config = null
 

Member Function Documentation

prettyPrint ( )

Get prettyPrint flag.

Returns
the prettyPrint flag
render ( )

Render a Zend_Config into a JSON config string.

Since
1.10
Returns
string
setPrettyPrint (   $flag)

Set prettyPrint flag.

Parameters
bool$prettyPrintPrettyPrint flag
Returns
Zend_Config_Writer_Json

Member Data Documentation

$_prettyPrint = false
protected