コード例 #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);
     }
 }