Development

Changeset 8817

You must first sign up to be able to contribute.

Changeset 8817

Show
Ignore:
Timestamp:
05/06/08 21:47:16 (5 months ago)
Author:
fabien
Message:

updated sfWebRequest::isXmlHttpRequest() API doc (it works with Prototype, Mootools, and jQuery)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/request/sfWebRequest.class.php

    r8480 r8817  
    758758 
    759759  /** 
    760    * Returns true id the request is a XMLHttpRequest (via prototype 'HTTP_X_REQUESTED_WITH' header). 
    761    * 
    762    * @return boolean 
     760   * Returns true if the request is a XMLHttpRequest. 
     761   * 
     762   * It works if your JavaScript library set an X-Requested-With HTTP header. 
     763   * Works with Prototype, Mootools, jQuery, and perhaps others. 
     764   * 
     765   * @return Boolean true if the request is an XMLHttpRequest, false otherwise 
    763766   */ 
    764767  public function isXmlHttpRequest()