Summary
- File
- Package hierarchy Util
- Class hierarchy \Path
phpboost_path() : string
the phpboost home directory path
None found |
get_package(string $class_file) : string
Returns the class package
string | $class_file | the class file |
the class package The package is under the form 'package/subpackage/../sub..subpackage'
None found |
get_path_from_root(string $path) : string
Returns the path from the phpboost root directory
string | $path | the file path |
the path from the phpboost root directory beginning by '/'
None found |
get_classname(string $class_file) : string
Deduces the classname regarding the filename
string | $class_file | the class file path or filename |
the classname
None found |
real_path(string $path) : string
Uniformizes the path getting its real path (absolute one) and replacing all <code>'\'</code> by <code>'/'</code>
string | $path | the path to uniformize |
the absolute path
None found |
uniformize_path(string $path) : string
Uniformizes the path replacing all <code>'\'</code> by <code>'/'</code>
string | $path | the path to uniformize |
the uniformized path
None found |