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 $path)
Server path is the real path to the root media directory |
|
| string |
browserPath($path $path)
Browser path is the url path to this root media directory |
Details
at line 17
public
__construct(null $config = null)
Create a new category path
at line 28
public string
fromDot(string $path)
Convert dots to slashes in the path
at line 39
public string
toDot(string $path)
Convert slashes into dots in the path
at line 50
public string
serverPath($path $path)
Server path is the real path to the root media directory
at line 62
public string
browserPath($path $path)
Browser path is the url path to this root media directory