public static function InstapageCmsPluginAjaxController::getInstance in Instapage plugin 8.3
Same name and namespace in other branches
- 7.3 core/InstapageCmsPluginAjaxController.php \InstapageCmsPluginAjaxController::getInstance()
Gets an instance of the object.
File
- core/
InstapageCmsPluginAjaxController.php, line 16
Class
- InstapageCmsPluginAjaxController
- Main controller for AJAX actions. Results are returned as encoded JSON objects. Data for actions are stored in $_POST['data'] table.
Code
public static function getInstance() {
if (self::$ajaxController === null) {
self::$ajaxController = new InstapageCmsPluginAjaxController();
}
return self::$ajaxController;
}