public function isAjax() {
        return (isset($this->http->xRequestedWith) && $this->http->xRequestedWith = 'XMLHttpRequest' ||
                isset($this->http->requestedWith) && $this->http->requestedWith = 'XMLHttpRequest');
    }
public function isAjax() {
        return (isset($this->http->xRequestedWith) && $this->http->xRequestedWith = 'XMLHttpRequest' ||
                isset($this->http->requestedWith) && $this->http->requestedWith = 'XMLHttpRequest');
    }
public function isAjax ( ) { return ( isset ( $ this -> http -> xRequestedWith ) && $ this -> http -> xRequestedWith = 'XMLHttpRequest' || isset ( $ this -> http -> requestedWith ) && $ this -> http -> requestedWith = 'XMLHttpRequest' ) ; }
Checks if the request is an ajax
@return boolean
Checks if the request is an ajax