コード例 #1
0
 public function render($iframe_transport = false)
 {
     sfConfig::set('sf_web_debug', false);
     if ($iframe_transport) {
         return $this->action->renderText('<textarea data-type="application/json">' . $this->json() . '</textarea>');
     } else {
         return $this->action->renderText($this->json());
     }
 }