Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Fins
Fins.Response

Method Fins.Response()->set_data()


Method set_data

void set_data(string|String.Buffer data, mixed ... args)

Description

sets the response value for this request

if an HTTP response code has been set, this method will not alter it, if one has not been set, this method will default the response code to 200 (Response OK).

using this method will clear any template set.

Parameter args

if provided, data will be assumed to be a sprintf () format string, and will be used to format args .