[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/includes/http/ -> Response.php (summary)

(no description)

File Size: 205 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Vtiger_Response:: (15 methods):
  setHeader()
  setError()
  setEmitType()
  setEmitJSONP()
  isJSON()
  getError()
  hasError()
  setResult()
  updateResult()
  getResult()
  prepareResponse()
  emit()
  emitJSON()
  emitText()
  emitRaw()


Class: Vtiger_Response  - X-Ref

setHeader($header)   X-Ref
Set headers to send


setError($code, $message=null)   X-Ref
Set error data to send


setEmitType($type)   X-Ref
Set emit type.


setEmitJSONP($fn)   X-Ref
Set padding method name for JSONP emit type.


isJSON()   X-Ref
Is emit type configured to JSON?


getError()   X-Ref
Get the error data


hasError()   X-Ref
Check the presence of error data


setResult($result)   X-Ref
Set the result data.


updateResult($key, $value)   X-Ref
Update the result data.


getResult()   X-Ref
Get the result data.


prepareResponse()   X-Ref
Prepare the response wrapper.


emit()   X-Ref
Send response to client.


emitJSON()   X-Ref
Emit response wrapper as JSONString


emitText()   X-Ref
Emit response wrapper as String/JSONString


emitRaw()   X-Ref
Emit response wrapper as String.




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1