\Zend_Config_Writer_Json

  • Copyright: Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  • License: http://framework.zend.com/license/new-bsd New BSD License

Synopsis

class Zend_Config_Writer_Json extends Zend_Config_Writer_FileAbstract {
  • // Inherited members from Zend_Config_Writer
  • protected  $_skipOptions;
  • protected Zend_Config  $_config;
  • // Inherited methods from Zend_Config_Writer_FileAbstract
  • public Zend_Config_Writer_Array setFilename()
  • public Zend_Config_Writer_Array setExclusiveLock()
  • public void write()
  • public string render()
  • // Inherited methods from Zend_Config_Writer
  • public void __construct()
  • public Zend_Config_Writer setConfig()
  • public Zend_Config_Writer setOptions()
  • public abstract void write()
}

Hierarchy

Tasks

Line Task
130+ For 2.0 this should be redone into an abstract method.

Members

protected

  • $_configZend_Config
    Config object to write
  • $_exclusiveLock — boolean
    Wether to exclusively lock the file or not
  • $_filename — string
    Filename to write to
  • $_prettyPrint — boolean
    If we need to pretty-print JSON data
  • $_skipOptions — array
    Option keys to skip when calling setOptions()

Methods

public

Inherited from Zend_Config_Writer_FileAbstract

public

Inherited from Zend_Config_Writer

public

  • setConfig() — Set options via a Zend_Config instance
  • setOptions() — Set options via an array
  • write() — Write a Zend_Config object to it's target

History