Return to Snippet

Revision: 51183
at September 16, 2011 04:25 by flipace


Initial Code
<?php

class IndexController extends Zend_Controller_Action
{
    private $params;

    public function init(){ 
         $this->params = $this->getRequest()->getParams();
   }

    public function indexAction(){}
    
    public function dosomethingAction(){
        $this->_helper->json(array('success'=>true,'val'=>$this->params['givemethis']));
    }


}

?>

Initial URL

                                

Initial Description

                                

Initial Title
Zend Ajax Return

Initial Tags

                                

Initial Language
PHP