content = $content; return $this; } public function buildResponseString() { $response = CelerityAPI::getStaticResourceResponse(); $object = $response->buildAjaxResponse( $this->content, $this->error); return $this->encodeJSONForHTTPResponse( $object, $use_javelin_shield = true); } public function getHeaders() { $headers = array( array('Content-Type', 'text/plain; charset=UTF-8'), ); $headers = array_merge(parent::getHeaders(), $headers); return $headers; } }