Settings
extends Model
in package
Themes plugin settings
Table of Contents
- $blockCache : bool
- $console : string|null
- $cp : string|null
- $default : string|null
- $displayerCache : bool
- $eagerLoad : bool
- $eagerLoadingCache : bool
- $folder : string
- $hideEmptyFields : bool
- $maxEagerLoadLevel : bool
- $menuItemName : string
- $redirectTo : string
- $rulesCache : bool
- $setConsole : bool
- $setCp : bool
- $showCpShortcuts : bool
- $templateCache : bool
- $themesRules : array<string|int, mixed>
- defineRules() : array<string|int, mixed>
- getBlockCacheEnabled() : bool
- block cache enabled getter
- getDisplayerCacheEnabled() : bool
- field cache enabled getter
- getEagerLoadingCacheEnabled() : bool
- Eager loading cache enabled getter
- getRedirectToOptions() : array<string|int, mixed>
- Redirect to options getter
- getRulesCacheEnabled() : bool
- rules cache enabled getter
- getTemplateCacheEnabled() : bool
- template cache enabled getter
- init() : mixed
Properties
$blockCache
public
bool
$blockCache
$console
public
string|null
$console
$cp
public
string|null
$cp
$default
public
string|null
$default
$displayerCache
public
bool
$displayerCache
$eagerLoad
public
bool
$eagerLoad
= true
$eagerLoadingCache
public
bool
$eagerLoadingCache
$folder
public
string
$folder
= 'themes'
Tags
$hideEmptyFields
public
bool
$hideEmptyFields
= true
$maxEagerLoadLevel
public
bool
$maxEagerLoadLevel
= 5
$menuItemName
public
string
$menuItemName
$redirectTo
public
string
$redirectTo
= 'list'
$rulesCache
public
bool
$rulesCache
$setConsole
public
bool
$setConsole
= false
$setCp
public
bool
$setCp
= false
$showCpShortcuts
public
bool
$showCpShortcuts
= true
$templateCache
public
bool
$templateCache
$themesRules
public
array<string|int, mixed>
$themesRules
= []
Methods
defineRules()
public
defineRules() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getBlockCacheEnabled()
block cache enabled getter
public
getBlockCacheEnabled() : bool
Return values
bool —getDisplayerCacheEnabled()
field cache enabled getter
public
getDisplayerCacheEnabled() : bool
Return values
bool —getEagerLoadingCacheEnabled()
Eager loading cache enabled getter
public
getEagerLoadingCacheEnabled() : bool
Return values
bool —getRedirectToOptions()
Redirect to options getter
public
getRedirectToOptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —getRulesCacheEnabled()
rules cache enabled getter
public
getRulesCacheEnabled() : bool
Return values
bool —getTemplateCacheEnabled()
template cache enabled getter
public
getTemplateCacheEnabled() : bool
Return values
bool —init()
public
init() : mixed