예제 #1
0
파일: Roster.php 프로젝트: Nyco/movim
 /**
  * @brief Return the found jid
  */
 function ajaxDisplayFound($jid)
 {
     if ($jid != '') {
         $cd = new \Modl\ContactDAO();
         $contacts = $cd->searchJid($jid);
         $view = $this->tpl();
         $view->assign('contacts', $contacts);
         $html = $view->draw('_roster_search_results', true);
         RPC::call('movim_fill', 'search_results', $html);
     }
 }