/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php class IndexController extends Zend_Controller_Action { public function init() { /* Initialize action controller here */ } public function indexAction() { $this->getHelper('ViewRenderer')->setNoRender(true); $this->getHelper('json')->sendJson($values); } }