HttpResponse::setData

Example

 static bool HttpResponse::setData ( mixed $data ) 

Description

Set the data to be sent. Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Return Values

Returns TRUE on success or FALSE on failure.