RemexHtml/TreeBuilder/Dispatcher.php
public function switchMode( $mode ) {
		$this->mode = $mode;
		$this->handler = $this->dispatchTable[$mode];
		return $this->handler;
	}
public function switchMode( $mode ) {
		$this->mode = $mode;
		$this->handler = $this->dispatchTable[$mode];
		return $this->handler;
	}
public function switchMode ( $ mode ) { $ this -> mode = $ mode ; $ this -> handler = $ this -> dispatchTable [ $ mode ] ; return $ this -> handler ; }
Switch the insertion mode, and return the new handler

@param int $mode
@return InsertionMode
Switch the insertion mode and return the new handler