Example #1
0
 /**
  * Handle Ajax calls to AAM
  *
  * @return void
  *
  * @access public
  */
 public function ajax()
 {
     check_ajax_referer('aam_ajax');
     //clean buffer to make sure that nothing messing around with system
     while (@ob_end_clean()) {
     }
     //process ajax request
     echo AAM_Backend_View::getInstance()->processAjax();
     exit;
 }