API Documentation

Zend/Config/Writer/Json.php

Show: inherited
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 license@zend.com 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: Json.php 23294 2010-11-05 00:27:34Z ramon $  

\Zend_Config_Writer_Json

Package: Zend\Config

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

Propertyprotectedboolean  $_prettyPrint= 'false'

If we need to pretty-print JSON data

Default valuefalseDetails
Type
boolean

Methods

methodpublicprettyPrint( ) : \the

Get prettyPrint flag

Returns
Type Description
\the prettyPrint flag
methodpublicrender( ) : string

Render a Zend_Config into a JSON config string.

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

Set prettyPrint flag

Parameters
Name Type Description
$flag
Returns
Type Description
\Zend_Config_Writer_Json
Documentation was generated by DocBlox 0.15.1.