Ajax::add_res()

Method: Add response key => value pair.

Ajax::verify_nonce()

Method: Verify nonce and die if failed.

Ajax::verify_permission()

Method: Verify permission of a user.

Ajax::set_success()

Method: Set ajax as success.

Ajax::set_fail()

Method: Set ajax as fail.

Ajax::snackbar()

Method: Add snackbar.

Ajax::req()

Method: Get and set request.

Ajax::send()

Method: Send ajax response.

Ajax::nopriv()

Method: Method for non logged in users.

Ajax

Class: A class to be used as a base for all ajax classes.