Config/Writer/Json.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Config  
Version
$Id$  

\Zend_Config_Writer_Json

Package: Zend_Config
Abstract File Writer
Parent(s)
\Zend_Config_Writer_FileAbstract < \Zend_Config_Writer
Category
Zend  
Copyright
Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedboolean $_prettyPrint = false
If we need to pretty-print JSON data
Default valuefalseDetails
Type
boolean

Methods

methodpublicprettyPrint() : \the

Get prettyPrint flag

Returns
TypeDescription
\theprettyPrint flag
methodpublicrender() : string

Render a Zend_Config into a JSON config string.

Returns
TypeDescription
string
Details
Since
1.10  
methodpublicsetPrettyPrint( $flag) : \Zend_Config_Writer_Json

Set prettyPrint flag

Parameters
NameTypeDescription
$flag
Returns
TypeDescription
\Zend_Config_Writer_Json
Documentation was generated by phpDocumentor 2.2.0 .