Advertisement
gareth126

ex 1

Nov 21st, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1.  public function flickrAction()
  2.     {
  3.     //conect to api amnd show results in view
  4.         $client = new Zend_Service_Flickr ( '968bf6491c274e6abe558fa1140d1ec5' );
  5.        
  6.         try {
  7.             $results = $client->userSearch( 'gareth126' );
  8.         } catch ( Zend_Service_Exception $e ) {
  9.             die ( $e->getMessage () );
  10.         }
  11.            
  12.         $this->view->results = $results;
  13.     }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement