public buildJsonObject ( mixed $data ) | ||
$data | mixed |
public function buildJsonObject($data)
{
$this->object = new RObject();
$this->object->setData($data);
$this->object->setContentType(Http::CONTENT_TYPE_JSON);
return $this;
}