EditorConfig
in package
Table of Contents
Properties
- $isQuestionEditorEnabled : bool
Methods
- __construct() : mixed
- getIsEditorEnabled() : bool
- Get editor enabled state
- initAppConfig() : mixed
- Init app config
- isBackendAccess() : bool
- If user is a logged-in user we can assume, that backend is accessed right now.
Properties
$isQuestionEditorEnabled
private
bool
$isQuestionEditorEnabled
Methods
__construct()
public
__construct([bool $isQuestionEditorEnabled = true ]) : mixed
Parameters
- $isQuestionEditorEnabled : bool = true
getIsEditorEnabled()
Get editor enabled state
public
getIsEditorEnabled() : bool
Return values
boolinitAppConfig()
Init app config
public
initAppConfig() : mixed
isBackendAccess()
If user is a logged-in user we can assume, that backend is accessed right now.
private
isBackendAccess() : bool