APP_Ajax_View
The base for creating and processing ajax actions like, delete post, favorite, etc.
Package
Description Description
Methods Methods
- __construct
- ajax_handle — The main ajax request handler
- ajax_response — Output response
- condition — Check condition
- enqueue_scripts — Enqueue scripts
- get_actions — This is where button processor changes current action/state to another one or several (in case of multiple buttons generation) or leave default.
- get_ajax_view — Retrieves registered Ajax View instance by given ajax action name
- get_button_args — Retrieves standard set of arguments to be used for action button generation
- init — Registers hooks
- render — Default Renderer
- response_message — Generate response message