Advertisement
gareth126

ex 2

Nov 21st, 2011
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. public function jsonAction()
  2.     {
  3.        
  4.         $this->_helper->viewRenderer->setNoRender();
  5.        
  6.         if (isset ( $_GET['input'] )) {
  7.            
  8.             $data = array('result'=> strtolower($_GET['input']));
  9.             $this->_helper->json($data);
  10.         }
  11.  
  12.        
  13.     }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement