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 |
---|
string
Settings menu identifier
string
Help data identifier; must be unique
string
Help title
string
Help content
checkHelpTopic(string $settingsMenuId, string $helpTopicId) : boolean
access | public |
---|
string
Settings menu identifier
string
Help data identifier
boolean
Help topic for settings menu exists (true) or not (false)getComponent(string $type, integer $projectCategory= \KocujIL\V12a\Enums\ProjectCategory::CORE
, string $fragment= ''
) : object
access | public |
---|
string
Component type
integer
Component 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
string
Component fragment - default: empty
object
Object of class type from componentgetHelpTopic(string $settingsMenuId, string $helpTopicId) : array | boolean
access | public |
---|
string
Settings menu identifier
string
Help data identifier
array
boolean
Help 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 |
---|
string
Settings menu identifier
array
Help 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 |
---|
object
Object of type \KocujIL\V12a\Classes\ProjectgetStrings(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE
) : object
access | public |
---|
string
Component type
integer
Component 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
object
Object of class type for strings from componentremoveHelpTopic(string $settingsMenuId, string $helpTopicId) : void
access | public |
---|
string
Settings menu identifier
string
Help data identifier
$actionAdded : boolean
false
access | private |
---|
$helpTopics : array
array()
access | private |
---|
$projectObj : object
NULL
access | private |
---|