[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/aphront/response/ -> AphrontProxyResponse.php (summary)

Base class for responses which augment other types of responses. For example, a response might be substantially an Ajax response, but add structure to the response content. It can do this by extending @{class:AphrontProxyResponse}, instantiating an @{class:AphrontAjaxResponse} in @{method:buildProxy}, and then constructing a real @{class:AphrontAjaxResponse} in @{method:reduceProxyResponse}.

File Size: 71 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  getProxy()
  setRequest()
  getRequest()
  getHeaders()
  setCacheDurationInSeconds()
  setLastModified()
  setHTTPResponseCode()
  getHTTPResponseCode()
  setFrameable()
  getCacheHeaders()
  buildResponseString()

Functions
Functions that are not part of a class:

getProxy()   X-Ref
No description

setRequest($request)   X-Ref
No description

getRequest()   X-Ref
No description

getHeaders()   X-Ref
No description

setCacheDurationInSeconds($duration)   X-Ref
No description

setLastModified($epoch_timestamp)   X-Ref
No description

setHTTPResponseCode($code)   X-Ref
No description

getHTTPResponseCode()   X-Ref
No description

setFrameable($frameable)   X-Ref
No description

getCacheHeaders()   X-Ref
No description

buildResponseString()   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1