public function addPath($path, $namespace = '', $prepend = FALSE) {
        if ($prepend === TRUE) {
            return $this->prependPath($path, $namespace);
        } else {
            if (!empty($namespace)) {
                $path = array (
                    $path, str_replace('_', '/', $namespace)
                );
            }           
            $this->paths []= $path;
        }
        return $this;
    }
public function addPath($path, $namespace = '', $prepend = FALSE) {
        if ($prepend === TRUE) {
            return $this->prependPath($path, $namespace);
        } else {
            if (!empty($namespace)) {
                $path = array (
                    $path, str_replace('_', '/', $namespace)
                );
            }           
            $this->paths []= $path;
        }
        return $this;
    }
public function addPath ( $ path , $ namespace = '' , $ prepend = FALSE ) { if ( $ prepend === TRUE ) { return $ this -> prependPath ( $ path , $ namespace ) ; } else { if ( ! empty ( $ namespace ) ) { $ path = array ( $ path , str_replace ( '_' , '/' , $ namespace ) ) ; } $ this -> paths [ ] = $ path ; } return $ this ; }
Adds a path to the search path array

@param string  $path      A classpath
@param string  $namespace The root namespace of $path. If not empty or
omitted Jm_Autoloader expects that classes in
the path are named like $namespace_Class_Name
@param boolean $prepend   If set to true the path will be prepended
instead of being appended. defaults to false

@return Jm_Autoloader
Adds a path to the search path array