pickles/classes/Display/JSON.php
2010-12-09 20:12:05 -05:00

34 lines
664 B
PHP

<?php
/**
* JSON Display Class File for PICKLES
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2010, Gravity Boulevard, LLC
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
*/
/**
* JSON Display
*
* Displays data in JavaScript Object Notation.
*/
class Display_JSON extends Display_Common
{
/**
* Renders the data in JSON format
*/
public function render()
{
echo Convert::toJSON($this->module_return);
}
}
?>