ajax_helper.php
Table of Contents
Classes
- AjaxHelper
- Ajax helper
This class will help to standardize the Ajax communication
between server and client.
- JsonOutput
- Base class for json output
- JsonOutputNoPermission
- Permission set to false
- JsonOutputError
- Set error in constructor, which will be
shown as a pop-up on client.
- JsonOutputSuccess
- Set success message in constructor, which
will be shown as a pop-up on client.
- JsonOutputModal
- Base class for json output
- JsonOutputNotLoggedIn
- Echo html for log in form modal body
This is a special case of JsonOutputModal, but with fixed html
Only used through JsonOutputNotLoggedIn in AdminController::run.
- JsonOutputHtml
- Echo HTML and put it in a <div> with id $target.