Theme
class Theme
Properties
string | $name | ||
string | $label | ||
string | $description | ||
string | $author | ||
string | $parentName | ||
string | $requires | ||
string | $path | ||
string | $publicPath | ||
bool | $active | ||
string | $locked | ||
string | $screenshot | ||
$config | |||
protected array | $configCache | ||
static protected | $allowedTemplateModels |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Returns variables that should be passed to the asset combiner.
No description
No description
No description
No description
No description
Ensures this theme is registered as a Pagic source.
No description
No description
No description
Implements the getter functionality.
Determine if an attribute exists on the object.
No description
Details
at line 87
__construct($path, array $config = [])
No description
at line 99
Theme
boot()
Boots the theme.
at line 110
string
getName()
No description
at line 118
string
getPath()
No description
at line 126
string
getDirName()
No description
at line 131
getParentPath()
No description
at line 136
getParentName()
No description
at line 141
getParent()
No description
at line 146
hasParent()
No description
at line 151
requires($require)
No description
at line 161
screenshot($name)
No description
at line 175
isActive()
No description
at line 180
loadThemeFile()
No description
at line 193
getConfig()
No description
at line 221
getFormConfig()
No description
at line 230
getConfigValue($name, $default = null)
No description
at line 235
hasCustomData()
No description
at line 240
getCustomData()
No description
at line 249
array
getAssetVariables()
Returns variables that should be passed to the asset combiner.
at line 268
fillFromConfig()
No description
at line 298
listPages()
No description
at line 303
listPartials()
No description
at line 308
listLayouts()
No description
at line 313
getPagesOptions()
No description
at line 325
void
registerAsSource()
Ensures this theme is registered as a Pagic source.
at line 360
Model
newTemplate($dirName)
No description
at line 372
mixed
getTemplateClass($dirName)
No description
at line 387
void
__get(string $name)
Implements the getter functionality.
at line 403
bool
__isset(string $key)
Determine if an attribute exists on the object.
at line 412
protected
getFindInPaths()
No description