src/core/framework/core/3rdparty/dwoo/Dwoo/Compiler.php
public function removePreProcessor($callback)
	{
		if (($index = array_search($callback, $this->processors['pre'], true)) !== false) {
			unset($this->processors['pre'][$index]);
		} elseif (($index = array_search('Dwoo_Processor_'.str_replace('Dwoo_Processor_', '', $callback), $this->processors['pre'], true)) !== false) {
			unset($this->processors['pre'][$index]);
		} else {
			$class = 'Dwoo_Processor_' . str_replace('Dwoo_Processor_', '', $callback);
			foreach ($this->processors['pre'] as $index=>$proc) {
				if (is_array($proc) && ($proc[0] instanceof $class) || (isset($proc['class']) && $proc['class'] == $class)) {
					unset($this->processors['pre'][$index]);
					break;
				}
			}
		}
	}
public function removePreProcessor($callback)
	{
		if (($index = array_search($callback, $this->processors['pre'], true)) !== false) {
			unset($this->processors['pre'][$index]);
		} elseif (($index = array_search('Dwoo_Processor_'.str_replace('Dwoo_Processor_', '', $callback), $this->processors['pre'], true)) !== false) {
			unset($this->processors['pre'][$index]);
		} else {
			$class = 'Dwoo_Processor_' . str_replace('Dwoo_Processor_', '', $callback);
			foreach ($this->processors['pre'] as $index=>$proc) {
				if (is_array($proc) && ($proc[0] instanceof $class) || (isset($proc['class']) && $proc['class'] == $class)) {
					unset($this->processors['pre'][$index]);
					break;
				}
			}
		}
	}
public function removePreProcessor ( $ callback ) { if ( ( $ index = array_search ( $ callback , $ this -> processors [ 'pre' ] , true ) ) !== false ) { unset ( $ this -> processors [ 'pre' ] [ $ index ] ) ; } elseif ( ( $ index = array_search ( 'Dwoo_Processor_' . str_replace ( 'Dwoo_Processor_' , '' , $ callback ) , $ this -> processors [ 'pre' ] , true ) ) !== false ) { unset ( $ this -> processors [ 'pre' ] [ $ index ] ) ; } else { $ class = 'Dwoo_Processor_' . str_replace ( 'Dwoo_Processor_' , '' , $ callback ) ; foreach ( $ this -> processors [ 'pre' ] as $ index => $ proc ) { if ( is_array ( $ proc ) && ( $ proc [ 0 ] instanceof $ class ) || ( isset ( $ proc [ 'class' ] ) && $ proc [ 'class' ] == $ class ) ) { unset ( $ this -> processors [ 'pre' ] [ $ index ] ) ; break ; } } } }
removes a preprocessor from the compiler

@param mixed $callback either a valid callback to the preprocessor or a simple name if it was autoloaded
removes a preprocessor from the compiler