當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Dialog::fill方法代碼示例

本文整理匯總了PHP中Dialog::fill方法的典型用法代碼示例。如果您正苦於以下問題:PHP Dialog::fill方法的具體用法?PHP Dialog::fill怎麽用?PHP Dialog::fill使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Dialog的用法示例。


在下文中一共展示了Dialog::fill方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: onTestCreate

 function onTestCreate($packet)
 {
     $server = $packet->content;
     $view = $this->tpl();
     $view->assign('server', $server);
     Dialog::fill($view->draw('_groups_add', true));
 }
開發者ID:vijo,項目名稱:movim,代碼行數:7,代碼來源:Groups.php

示例2: ajaxList

 /**
  * @brief Display the room list
  */
 function ajaxList($room)
 {
     if (!$this->validateRoom($room)) {
         return;
     }
     $view = $this->tpl();
     $cd = new \Modl\ContactDAO();
     $view->assign('list', $cd->getPresences($room));
     Dialog::fill($view->draw('_rooms_list', true), true);
 }
開發者ID:Trim,項目名稱:movim,代碼行數:13,代碼來源:Rooms.php

示例3: onCommand

 function onCommand($package)
 {
     $command = $package->content;
     $view = $this->tpl();
     if (isset($command->note)) {
         $view->assign('note', $command->note);
         Dialog::fill($view->draw('_adhoc_note', true));
     }
     if (isset($command->x)) {
         $xml = new \XMPPtoForm();
         $form = $xml->getHTML($command->x->asXML());
         $view->assign('form', $form);
         $view->assign('attributes', $command->attributes());
         $view->assign('actions', null);
         if (isset($command->actions)) {
             $view->assign('actions', $command->actions);
         }
         Dialog::fill($view->draw('_adhoc_form', true), true);
     }
     RPC::call('AdHoc.initForm');
 }
開發者ID:ajira86,項目名稱:movim,代碼行數:21,代碼來源:AdHoc.php

示例4: ajaxAskUnsubscribe

 function ajaxAskUnsubscribe($server, $node)
 {
     if (!$this->validateServerNode($server, $node)) {
         return;
     }
     $view = $this->tpl();
     $view->assign('server', $server);
     $view->assign('node', $node);
     $pd = new \Modl\ItemDAO();
     $item = $pd->getItem($server, $node);
     if (isset($item)) {
         $view->assign('item', $item);
     } else {
         $view->assign('item', null);
     }
     Dialog::fill($view->draw('_group_unsubscribe', true));
 }
開發者ID:vijo,項目名稱:movim,代碼行數:17,代碼來源:Group.php

示例5: ajaxGetSubject

 /**
  * @brief Get the subject form of a chatroom
  */
 function ajaxGetSubject($room)
 {
     if (!$this->validateJid($room)) {
         return;
     }
     $view = $this->tpl();
     $md = new \Modl\MessageDAO();
     $s = $md->getRoomSubject($room);
     $view->assign('room', $room);
     $view->assign('subject', $s);
     Dialog::fill($view->draw('_chat_subject', true));
 }
開發者ID:Trim,項目名稱:movim,代碼行數:15,代碼來源:Chat.php

示例6: ajaxOpenDialog

 function ajaxOpenDialog()
 {
     Dialog::fill($this->preparePresenceList());
     RPC::call('Presence.refresh');
 }
開發者ID:Anon215,項目名稱:movim,代碼行數:5,代碼來源:Presence.php

示例7: ajaxDeleteContact

 function ajaxDeleteContact($jid)
 {
     if (!$this->validateJid($jid)) {
         return;
     }
     $view = $this->tpl();
     $view->assign('jid', $jid);
     Dialog::fill($view->draw('_contact_delete', true));
 }
開發者ID:Hywan,項目名稱:movim,代碼行數:9,代碼來源:Contact.php

示例8: ajaxHelp

 function ajaxHelp()
 {
     $view = $this->tpl();
     Dialog::fill($view->draw('_publish_help', true), true);
 }
開發者ID:Trim,項目名稱:movim,代碼行數:5,代碼來源:Publish.php

示例9: ajaxDelete

 function ajaxDelete($to, $node, $id)
 {
     $view = $this->tpl();
     $view->assign('to', $to);
     $view->assign('node', $node);
     $view->assign('id', $id);
     Dialog::fill($view->draw('_post_delete', true));
 }
開發者ID:vijo,項目名稱:movim,代碼行數:8,代碼來源:Post.php

示例10: ajaxDisplaySearch

 /**
  * @brief Display the search contact form
  */
 function ajaxDisplaySearch($jid = null)
 {
     $view = $this->tpl();
     $view->assign('jid', $jid);
     $view->assign('add', $this->call('ajaxAdd', "movim_parse_form('add')"));
     $view->assign('search', $this->call('ajaxDisplayFound', 'this.value'));
     Dialog::fill($view->draw('_roster_search', true));
 }
開發者ID:Nyco,項目名稱:movim,代碼行數:11,代碼來源:Roster.php

示例11: ajaxAdd

 /**
  * @brief Display the add chat form
  */
 function ajaxAdd()
 {
     $view = $this->tpl();
     $cd = new \Modl\ContactDAO();
     $chats = Cache::c('chats');
     if (!isset($chats)) {
         $chats = array();
     }
     $view->assign('chats', array_keys($chats));
     $view->assign('top', $cd->getTop(15));
     $view->assign('presencestxt', getPresencesTxt());
     Dialog::fill($view->draw('_chats_add', true), true);
 }
開發者ID:christine-ho-dev,項目名稱:movim,代碼行數:16,代碼來源:Chats.php

示例12: ajaxRemoveAccount

 function ajaxRemoveAccount()
 {
     $view = $this->tpl();
     $view->assign('jid', $this->user->getLogin());
     Dialog::fill($view->draw('_account_remove', true));
 }
開發者ID:Trim,項目名稱:movim,代碼行數:6,代碼來源:Account.php

示例13: ajaxRequest

 function ajaxRequest()
 {
     $view = $this->tpl();
     Dialog::fill($view->draw('_upload', true));
     RPC::call('Upload.init');
 }
開發者ID:Anon215,項目名稱:movim,代碼行數:6,代碼來源:Upload.php

示例14: ajaxAdd

 /**
  * @brief Display the add chat form
  */
 function ajaxAdd()
 {
     $view = $this->tpl();
     $cd = new \Modl\ContactDAO();
     $view->assign('top', $cd->getTop(10));
     $view->assign('presencestxt', getPresencesTxt());
     Dialog::fill($view->draw('_chats_add', true), true);
 }
開發者ID:Nyco,項目名稱:movim,代碼行數:11,代碼來源:Chats.php

示例15: ajaxAsk

 function ajaxAsk($jid)
 {
     $view = $this->tpl();
     $view->assign('jid', $jid);
     Dialog::fill($view->draw('_notifs_confirm', true));
 }
開發者ID:Nyco,項目名稱:movim,代碼行數:6,代碼來源:Notifs.php


注:本文中的Dialog::fill方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。