Path · Mecha CMS

File/URL path helpers.

$path::B()

Convert file path to its base name.

$path::D()

Convert file path to its directory path.

$path::F()

Convert file/folder path to a folder path.

$path::N()

Convert file path to its name.

$path::X()

Get file extension from a file path.