ThemeFileInfo¶
Class ThemeFileInfo
This class represents a theme file. It includes the real path, the virtual path, and the category.
Virtual paths are a special notation for relative paths, including a prefix to give context.
Eg.: the path "image::theme::files/logo.png" is relative to the theme folder, while
"image::generalfiles::" is relative to the general files folder.
If $path is not valid, returns null.
Paths can be
- related to a global theme option and hence the file be located on the generalfiles directory.
- related to a survey theme option and hence the file be located relative to a survey upload directory.
- related to a theme and hence the file be located on the theme directory (eg. when uploaded from theme editor)
« More »