CategoryPaths
class CategoryPaths
Class CategoryPaths converts dot paths to real paths and also finds server paths and browser urls to the configured root media directory where all our media files are stored at.
Methods
__construct(null $config = null)
Create a new category path
string
fromDot(string $path)
Convert dots to slashes in the path
string
toDot(string $path)
Convert slashes into dots in the path
string
serverPath($path)
Server path is the real path to the root media directory
string
browserPath($path)
Browser path is the url path to this root media directory
Details
at line 17
__construct(null $config = null)
Create a new category path
at line 28
string
fromDot(string $path)
Convert dots to slashes in the path
at line 39
string
toDot(string $path)
Convert slashes into dots in the path
at line 50
string
serverPath($path)
Server path is the real path to the root media directory
at line 62
string
browserPath($path)
Browser path is the url path to this root media directory