protected function removeHandler($type, $name, $handlerName, $priority)
    {
        // If the event isn't set we add an array to the events array
        if (!isset($this->handlers[$type][$name][$priority])) {
            return;
        }
        
        // If the event handler isn't registred we return with true.
        if (!in_array($handlerName, $this->handlers[$type][$name][$priority])) {
            return;
        }
        
        // Remove the event handler from the array
        $index = array_search($handlerName, $this->handlers[$type][$name][$priority]);
        unset($this->handlers[$type][$name][$priority][$index]);
        $this->saveHandlers();
    }
protected function removeHandler($type, $name, $handlerName, $priority)
    {
        // If the event isn't set we add an array to the events array
        if (!isset($this->handlers[$type][$name][$priority])) {
            return;
        }
        
        // If the event handler isn't registred we return with true.
        if (!in_array($handlerName, $this->handlers[$type][$name][$priority])) {
            return;
        }
        
        // Remove the event handler from the array
        $index = array_search($handlerName, $this->handlers[$type][$name][$priority]);
        unset($this->handlers[$type][$name][$priority][$index]);
        $this->saveHandlers();
    }
protected function removeHandler ( $ type , $ name , $ handlerName , $ priority ) { // If the event isn't set we add an array to the events array if ( ! isset ( $ this -> handlers [ $ type ] [ $ name ] [ $ priority ] ) ) { return ; } // If the event handler isn't registred we return with true. if ( ! in_array ( $ handlerName , $ this -> handlers [ $ type ] [ $ name ] [ $ priority ] ) ) { return ; } // Remove the event handler from the array $ index = array_search ( $ handlerName , $ this -> handlers [ $ type ] [ $ name ] [ $ priority ] ) ; unset ( $ this -> handlers [ $ type ] [ $ name ] [ $ priority ] [ $ index ] ) ; $ this -> saveHandlers ( ) ; }
Removes an handler

@access protected
@param string $type
@param string $name
@param string $handlerName
@param string $priority
Removes an handler