/** * Enter description here... * * @param unknown_type $type * @param unknown_type $callback * @return unknown * @TODO namespace events * @TODO support more than event in $type (space-separated) */ public function unbind($type = null, $callback = null) { foreach ($this->elements as $node) { phpQueryEvents::remove($this->getDocumentID(), $node, $type, $callback); } return $this; }
/** * Enter description here... * * @param unknown_type $type * @param unknown_type $callback * @return unknown * @TODO namespace events * @TODO support more than event in $type (space-separated) */ public function unbind($type = null, $callback = null) { foreach ($this->elements as $node) { $newEvent = new phpQueryEvents($this->phpquery); $newEvent->remove($this->getDocumentID(), $node, $type, $callback); } return $this; }