public function pathToId($path){
		$path = ltrim(ltrim($path, '.'), DIRECTORY_SEPARATOR);
		return strtolower(preg_replace('/[_\.\/\\\\]/', '-', $path));
	}
public function pathToId($path){
		$path = ltrim(ltrim($path, '.'), DIRECTORY_SEPARATOR);
		return strtolower(preg_replace('/[_\.\/\\\\]/', '-', $path));
	}
public function pathToId ( $ path ) { $ path = ltrim ( ltrim ( $ path , '.' ) , DIRECTORY_SEPARATOR ) ; return strtolower ( preg_replace ( '/[_\.\/\\\\]/' , '-' , $ path ) ) ; }
Convert id to path

@param string $path

@return string
Convert id to path