<?php require_once "class.AjaxEventArgs.php"; require_once "class.AnnotationFunction.php"; AjaxHandler::init(); class AjaxHandler { private static $_AJAX_HELPER = NULL; private $_AJAX_ID = NULL; private $_AJAX_CONTENT = NULL; private $_AJAX_HANDLERS = NULL; private $_AJAX_POST_PARAMETERS = NULL; private function __construct() { $this->_AJAX_HANDLERS = null; if (self::isAjaxRequest()) { $this->AjaxId = trim($_REQUEST["Ajax_RequestID"]); $this->_AJAX_HANDLERS = $this->findHandlers(); } } public function __destruct() { if (self::isAjaxRequest()) { $this->flush(); } else { ob_end_clean(); } } public function __get($propertyName) { if ($propertyName !== "AjaxId") {