Advertisement
Guest User

Untitled

a guest
May 25th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1.     public function ListArticlesAction()
  2.     {
  3.         if($this->_request->IsXHttpRequest)
  4.         {
  5.             return;
  6.         }
  7.        
  8.         //Code
  9.        
  10.         return json_encode($this->_articles);
  11.     }
  12.    
  13.     public function LoadArticlesAction()
  14.     {
  15.         if(!$this->_request->IsXHttpRequest)
  16.         {
  17.             return;
  18.         }
  19.        
  20.         //code
  21.        
  22.         return json_encode($this->_articles);
  23.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement