Inheritance diagram for JSONTemplate:
it will draw your site, but give you the data in json format which you can use to show it however you want with javascript.
Definition at line 9 of file json-template.inc.php.
Public Member Functions | |
drawPage () | |
This function draws the content area of the page. | |
drawError () | |
This draws all the errors that the page init generated. | |
drawStatus () | |
This draws all the status messages that the page init generated. |
|
This draws all the errors that the page init generated. they are all wrapped in a with class pf 'baseError' and an id of 'error-$key' where key is the key in the error array. Reimplemented from BaseTemplate. Definition at line 27 of file json-template.inc.php. References JSON::encode(). Referenced by drawPage(). |
|
This function draws the content area of the page.
Reimplemented from BaseTemplate. Definition at line 14 of file json-template.inc.php. References BaseTemplate::drawContent(), drawError(), and drawStatus(). |
|
This draws all the status messages that the page init generated. they are all wrapped in a with class pf 'baseStatus' and an id of 'status-$key' where key is the key in the status array. Reimplemented from BaseTemplate. Definition at line 36 of file json-template.inc.php. References JSON::encode(). Referenced by drawPage(). |