protected static function inlineToBrowser($contentType, $content) { Common::sendHeader('Content-Type: ' . $contentType); echo $content; }
public function sendToBrowserInline($filename) { ReportRenderer::inlineToBrowser(Sms::SMS_CONTENT_TYPE, $this->rendering); }