Example #1
0
File: Group.php Project: vijo/movim
 function ajaxGetItems($server, $node)
 {
     if (!$this->validateServerNode($server, $node)) {
         return;
     }
     RPC::call('Group.addLoad', stringToUri($server . '_' . $node));
     $r = new GetItemsId();
     $r->setTo($server)->setNode($node);
     $r->request();
 }
Example #2
0
 function ajaxGetItems($server, $node)
 {
     if (!$this->validateServerNode($server, $node)) {
         return;
     }
     $slugify = new Slugify();
     RPC::call('Group.addLoad', $slugify->slugify($server . '_' . $node));
     RPC::call('MovimUtils.pushState', $this->route('group', [$server, $node]));
     RPC::call('MovimTpl.fill', '#group_widget.' . $slugify->slugify($server . '_' . $node), '');
     $r = new GetItemsId();
     $r->setTo($server)->setNode($node);
     $r->request();
 }