PHP Class json, gitblog

Inheritance: extends CI_Controller
Datei anzeigen Open project: rsms/gitblog Class Usage Examples

Public Methods

Method Description
pretty ( $var, $compact = false, $force_object = false, $level )

Method Details

pretty() static public method

static public pretty ( $var, $compact = false, $force_object = false, $level )
$force_object Outputs an object rather than an array when a non- associative array is used. Especially useful when the recipient of the output is expecting an object and the array is empty.