public function request() { if ($this->_to == '') { $this->_to = $this->_atom->jid; } $this->store(); Pubsub::postPublish($this->_to, $this->_node, $this->_atom); }
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(); } }
public function request() { $this->store(); Pubsub::create($this->_to, $this->_node, $this->_name); }
public function request() { $this->store(); Pubsub::postDelete($this->_to, $this->_node, $this->_id); }
public function request() { $this->store(); Pubsub::postPublish($this->_to, $this->_node, $this->_atom); }
public function request() { $this->store(); Pubsub::setAffiliations($this->_to, $this->_node, $this->_data); }
public function request() { $this->store(); Pubsub::getItem($this->_to, $this->_node, $this->_id); }
public function request() { $this->store(); Pubsub::unsubscribe($this->_to, $this->_from, $this->_node, $this->_subid); }
public function request() { $this->store(); Pubsub::setConfig($this->_to, $this->_node, $this->_data); }
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); }
public function request() { $this->store(); Pubsub::getItems($this->_to, 'urn:xmpp:pubsub:subscription'); }
public function request() { $this->store(); Pubsub::setSubscriptions($this->_to, $this->_node, $this->_data); }
public function request() { $this->store(); Pubsub::delete($this->_to, $this->_node); }
public function request() { $this->store(); Pubsub::createPersistentStorage($this->_to, $this->_node); }
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(); }