wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
class.JSONFormat.php File Reference

Go to the source code of this file.

Classes

class  JSONFormat
 

Functions

 gPrintJSONResult ()
 

Variables

 $GLOBALS ['gJSONData'] = array()
 
 $GLOBALS ['gJSONUsed'] = false
 

Function Documentation

gPrintJSONResult ( )

Definition at line 31 of file class.JSONFormat.php.

References $GLOBALS, JSONUtil\encode(), and EncodingUtil\utf8EncodeMix().

+ Here is the call graph for this function:

Variable Documentation

$GLOBALS['gJSONData'] = array()

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.JSONFormat.php 1462 2014-02-04 23:52:27Z iherwig

JSONFormatter collects the response data from all executed controllers into one response array and returns it all at once at the end of script execution. This prevents from having multiple junks of json from each controller response that can't be decoded by clients.

Definition at line 29 of file class.JSONFormat.php.

Referenced by JSONFormat\afterSerialize(), Application\Application(), AdminController\executeKernel(), MultipleActionController\executeKernel(), NodeUtil\getDisplayValues(), FormUtil\getListMap(), gPrintJSONResult(), Application\initialize(), AuthUser\login(), Application\setupGlobals(), and ObjectQuery\valueChanged().

$GLOBALS['gJSONUsed'] = false

Definition at line 30 of file class.JSONFormat.php.