Settings help class
| access | public | 
|---|---|
| package | kocuj_internal_lib | 
| inherited_from | \KocujIL\V12a\Classes\ComponentObject | 
__construct(object $projectObj) : void
| access | public | 
|---|
object\KocujIL\V12a\Classes\Project object for current project
actionAddHelp() : void
| access | public | 
|---|
addHelpTopic(string $settingsMenuId, string $helpTopicId, string $title, string $content) : void
| access | public | 
|---|
stringSettings menu identifier
stringHelp data identifier; must be unique
stringHelp title
stringHelp content
checkHelpTopic(string $settingsMenuId, string $helpTopicId) : boolean
| access | public | 
|---|
stringSettings menu identifier
stringHelp data identifier
booleanHelp topic for settings menu exists (true) or not (false)getComponent(string $type, integer $projectCategory= \KocujIL\V12a\Enums\ProjectCategory::CORE, string $fragment= '') : object
| access | public | 
|---|
stringComponent type
integerComponent category; must be one of the following constants from \KocujIL\V12a\Enums\ProjectCategory: CORE (for "core" category), ALL (for "all" category), FRONTEND (for "frontend" category) or BACKEND (for "backend" category) - default: \KocujIL\V12a\Enums\ProjectCategory::CORE
stringComponent fragment - default: empty
objectObject of class type from componentgetHelpTopic(string $settingsMenuId, string $helpTopicId) : array | boolean
| access | public | 
|---|
stringSettings menu identifier
stringHelp data identifier
arraybooleanHelp topic for settings menu data or false if not exists; help topic for settings menu data have the following fields: "content" (string type; help content), "title" (string type; help title)getHelpTopics(string $settingsMenuId) : array
| access | public | 
|---|
stringSettings menu identifier
arrayHelp topics for settings menu data; each help topic for settings menu data has the following fields: "content" (string type; help content), "title" (string type; help title)getProjectObj() : object
| access | public | 
|---|
objectObject of type \KocujIL\V12a\Classes\ProjectgetStrings(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE) : object
| access | public | 
|---|
stringComponent type
integerComponent category; must be one of the following constants from \KocujIL\V12a\Enums\ProjectCategory: CORE (for "core" category), ALL (for "all" category), FRONTEND (for "frontend" category) or BACKEND (for "backend" category) - default: \KocujIL\V12a\Enums\ProjectCategory::CORE
objectObject of class type for strings from componentremoveHelpTopic(string $settingsMenuId, string $helpTopicId) : void
| access | public | 
|---|
stringSettings menu identifier
stringHelp data identifier
$actionAdded : boolean
false| access | private | 
|---|
$helpTopics : array
array()| access | private | 
|---|
$projectObj : object
NULL| access | private | 
|---|