Example #1
0
 protected function renderJsonp()
 {
     $callbackName = $this->response->getRequest()->getVal('callback');
     return "{$callbackName}(" . $this->renderJson() . ");";
 }