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
package | LimeSurvey\DataValueObject |
---|
__construct(string $realPath,string $virtualPath,\LimeSurvey\Datavalueobjects\ThemeFileCategory $category)
string
string
realPath :string
var | the real path to the file (eg. '/var/www/html/limesurvey/themes/survey/vanilla/files/logo.png') |
---|
string
virtualPath :string
var | the virtual path to the file (eg. 'image::theme::logo.png') |
---|
string
category :\LimeSurvey\Datavalueobjects\ThemeFileCategory