public function unregister($event=null)
    {
        if(!empty($event) && $event != '*')
            $this->_handlers[$event] = array();
        else
            $this->_handlers = array();

        return $this;
    }
public function unregister($event=null)
    {
        if(!empty($event) && $event != '*')
            $this->_handlers[$event] = array();
        else
            $this->_handlers = array();

        return $this;
    }
public function unregister ( $ event = null ) { if ( ! empty ( $ event ) && $ event != '*' ) $ this -> _handlers [ $ event ] = array ( ) ; else $ this -> _handlers = array ( ) ; return $ this ; }
Unregisters an event handler based on event, or all
@chainable
Unregisters an event handler based on event or all