original_string: function addpath($name, $fspath, $overwrite = false) {
  		if ( ! $overwrite && isset($this->registeredpaths[$name])) {
  			throw new Panic("A path is already registered for $name.");
  		}
  		else { // path is not registered yet or overwrite == true
  			$this->registeredpaths[$name] = $fspath;
  		}
  	}
code: function addpath($name, $fspath, $overwrite = false) {
  		if ( ! $overwrite && isset($this->registeredpaths[$name])) {
  			throw new Panic("A path is already registered for $name.");
  		}
  		else { // path is not registered yet or overwrite == true
  			$this->registeredpaths[$name] = $fspath;
  		}
  	}
code_tokens: function addpath ( $ name , $ fspath , $ overwrite = false ) { if ( ! $ overwrite && isset ( $ this -> registeredpaths [ $ name ] ) ) { throw new Panic ( "A path is already registered for $name." ) ; } else { // path is not registered yet or overwrite == true $ this -> registeredpaths [ $ name ] = $ fspath ; } }
docstring: Registers a path under a specified name.
  
  If the path is already registered the method will Panic unless the 3rd
  parameter is passed.
docstring_tokens: Registers a path under a specified name .