Class

Path

Package: Util Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2016 11 14 Since: PHPBoost 1.6 - 2006 11 08 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Located at: util/Path.class.php
Methods summary
public static string
# phpboost_path( )
public static string
# get_package( string $class_file )

Returns the class package

public static string
# get_path_from_root( string $path )

Returns the path from the phpboost root directory

public static string
# get_classname( string $class_file )

Deduces the classname regarding the filename

public static string
# real_path( string $path )

Uniformizes the path getting its real path (absolute one) and replacing all

'\'

by

'/'
public static string
# uniformize_path( string $path )

Uniformizes the path replacing all

'\'

by

'/'