or 

class AjaxController extends Zend_Controller_Action
{

   function updateorderAction()
   {
      ....
      Zend_Controller_Front::getInstance()->setParam('noViewRenderer',true);
      $this->getResponse()->setBody(json_encode($this->result));
   }



Le Mon, 26 Nov 2007 00:13:11 +0200,
Peter Lauri <[EMAIL PROTECTED]> a écrit :

> Ok, cool... But why is there a wrapper for a simple function call for
> the json, wouldn't json_encode($this->result) be simpler? Or is there
> something I don't get? :)
> 
> 
> On Mon, 2007-11-26 at 09:10 +1100, Simon Mundy wrote:
> > <?= Zend_Json::encode($this->result) ?>
> 

Reply via email to