Exemplo n.º 1
0
 /**
  * Send result back to client
  * as JSONP string
  *
  * @return string
  */
 protected function sendResult()
 {
     /**
      * @todo check and see if we have to manually call urldecode
      * on the value. Not sure if we going to get raw urlencoded value or not
      */
     $callback = $_GET['callback'];
     d('$callback: ' . $callback);
     Responder::sendJSONP(array('ac' => $this->aData), $callback);
 }
Exemplo n.º 2
0
 /**
  * Send result back to client
  * as JSONP string
  *
  * @return string
  */
 protected function sendResult()
 {
     $callback = $this->Request->get('callback');
     d('$callback: ' . $callback);
     Responder::sendJSONP(array('ac' => $this->aData), $callback);
 }