Beispiel #1
0
 public function request()
 {
     if ($this->_to == '') {
         $this->_to = $this->_atom->jid;
     }
     $this->store();
     Pubsub::postPublish($this->_to, $this->_node, $this->_atom);
 }
Beispiel #2
0
 public function handle($stanza, $parent = false)
 {
     if ($stanza["type"] == "result") {
         // We delete the test node we just created
         Pubsub::delete($this->_to, $this->_node);
         // And we say that all it's ok
         $this->pack($this->_to);
         $this->deliver();
     }
 }
Beispiel #3
0
 public function request()
 {
     $this->store();
     Pubsub::create($this->_to, $this->_node, $this->_name);
 }
Beispiel #4
0
 public function request()
 {
     $this->store();
     Pubsub::postDelete($this->_to, $this->_node, $this->_id);
 }
Beispiel #5
0
 public function request()
 {
     $this->store();
     Pubsub::postPublish($this->_to, $this->_node, $this->_atom);
 }
Beispiel #6
0
 public function request()
 {
     $this->store();
     Pubsub::setAffiliations($this->_to, $this->_node, $this->_data);
 }
Beispiel #7
0
 public function request()
 {
     $this->store();
     Pubsub::getItem($this->_to, $this->_node, $this->_id);
 }
Beispiel #8
0
 public function request()
 {
     $this->store();
     Pubsub::unsubscribe($this->_to, $this->_from, $this->_node, $this->_subid);
 }
Beispiel #9
0
 public function request()
 {
     $this->store();
     Pubsub::setConfig($this->_to, $this->_node, $this->_data);
 }
Beispiel #10
0
 public function request()
 {
     $this->store();
     Pubsub::createCommentNode($this->_to, $this->_parentid);
 }
 public function request()
 {
     $this->store();
     Pubsub::configurePersistentStorage($this->_to, $this->_node, $this->_access_model);
 }
Beispiel #12
0
 public function request()
 {
     $this->store();
     Pubsub::getItems($this->_to, 'urn:xmpp:pubsub:subscription');
 }
Beispiel #13
0
 public function request()
 {
     $this->store();
     Pubsub::setSubscriptions($this->_to, $this->_node, $this->_data);
 }
Beispiel #14
0
 public function request()
 {
     $this->store();
     Pubsub::delete($this->_to, $this->_node);
 }
Beispiel #15
0
 public function request()
 {
     $this->store();
     Pubsub::createPersistentStorage($this->_to, $this->_node);
 }
Beispiel #16
0
 public function handle($stanza, $parent = false)
 {
     Pubsub::postDelete($this->_to, $this->_node, $this->_id);
     $this->pack(array('to' => $this->_to, 'node' => $this->_node));
     $this->deliver();
 }