예제 #1
0
 public function getfriendslistAction()
 {
     if ($this->auth->hasIdentity()) {
         $frd = new Application_Model_Friend($this->registry['DB']);
         $userid = $this->getRequest()->getParam('userid');
         $this->view->results = $frd->getfriends($userid);
     }
 }