Ejemplo n.º 1
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();
     }
 }
Ejemplo n.º 2
0
 public function request()
 {
     $this->store();
     Pubsub::delete($this->_to, $this->_node);
 }