|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Help GUI class. More...
Collaboration diagram for ilHelpGUI:Public Member Functions | |
| __construct () | |
| constructor More... | |
| setDefaultScreenId ($a_part, $a_id) | |
| Set default screen id. More... | |
| setScreenId ($a_id) | |
| Set screen id. More... | |
| setSubScreenId ($a_id) | |
| Set sub screen id. More... | |
| setScreenIdComponent ($a_comp) | |
| Set screen id component. More... | |
| getScreenId () | |
| Get screen id. More... | |
| addHelpSection ($a_help_id, $a_level=1) | |
| Add help section. More... | |
| hasSections () | |
| Has sections? More... | |
| getHelpSections () | |
| Get help sections. More... | |
| setCtrlPar () | |
| Get help section url parameter. More... | |
| executeCommand () | |
| execute command More... | |
| showHelp () | |
| Show online help. More... | |
| showPage () | |
| Show page. More... | |
| resetCurrentPage () | |
| Hide help. More... | |
| getTabTooltipText ($a_tab_id) | |
| Get tab tooltip text. More... | |
| initHelp ($a_tpl, $ajax_url) | |
| Render current help page. More... | |
| isHelpPageActive () | |
| Is help page active? More... | |
| deactivateTooltips () | |
| Deactivate tooltips. More... | |
| activateTooltips () | |
| Activate tooltips. More... | |
| getLinkXML ($a_int_links) | |
| get xml for links More... | |
| getLinkTargetsXML () | |
| Get XMl for Link Targets. More... | |
| search () | |
| Search. More... | |
Data Fields | |
| $help_sections = array() | |
| const | ID_PART_SCREEN = "screen" |
| const | ID_PART_SUB_SCREEN = "sub_screen" |
| const | ID_PART_COMPONENT = "component" |
| $def_screen_id = array() | |
| $screen_id = array() | |
Protected Member Functions | |
| replaceMenuItemTags (string $content) | |
| Help page post processing. More... | |
| replaceItemTag ($mmc, string $content, \ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem $item) | |
| Replace item tag. More... | |
| getTitleForItem (\ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem $item) | |
| Get title for item. More... | |
Protected Attributes | |
| $ctrl | |
| $settings | |
| $lng | |
| $user | |
| $ui | |
| $raw_menu_items = null | |
Help GUI class.
@ilCtrl_Calls ilHelpGUI: ilLMPageGUI
Definition at line 15 of file class.ilHelpGUI.php.
| ilHelpGUI::__construct | ( | ) |
constructor
Definition at line 57 of file class.ilHelpGUI.php.
References $DIC, settings(), ui(), and user().
Here is the call graph for this function:| ilHelpGUI::activateTooltips | ( | ) |
Activate tooltips.
return
Definition at line 479 of file class.ilHelpGUI.php.
| ilHelpGUI::addHelpSection | ( | $a_help_id, | |
$a_level = 1 |
|||
| ) |
Add help section.
return
Definition at line 151 of file class.ilHelpGUI.php.
| ilHelpGUI::deactivateTooltips | ( | ) |
| ilHelpGUI::executeCommand | ( | ) |
execute command
Definition at line 205 of file class.ilHelpGUI.php.
| ilHelpGUI::getHelpSections | ( | ) |
Get help sections.
return
Definition at line 176 of file class.ilHelpGUI.php.
References $_GET, ilHelpMapping\getHelpSectionsForId(), and getScreenId().
Here is the call graph for this function:| ilHelpGUI::getLinkTargetsXML | ( | ) |
Get XMl for Link Targets.
Definition at line 533 of file class.ilHelpGUI.php.
Referenced by showPage().
Here is the caller graph for this function:| ilHelpGUI::getLinkXML | ( | $a_int_links | ) |
get xml for links
Definition at line 489 of file class.ilHelpGUI.php.
References $ctrl, $target_arr, $target_id, and $type.
Referenced by showPage().
Here is the caller graph for this function:| ilHelpGUI::getScreenId | ( | ) |
Get screen id.
return
Definition at line 119 of file class.ilHelpGUI.php.
References $screen_id, ID_PART_SCREEN, and ID_PART_SUB_SCREEN.
Referenced by getHelpSections(), hasSections(), and setCtrlPar().
Here is the caller graph for this function:| ilHelpGUI::getTabTooltipText | ( | $a_tab_id | ) |
Get tab tooltip text.
| string | $a_tab_id | tab id |
Definition at line 394 of file class.ilHelpGUI.php.
References $lng, and ilHelp\getTooltipPresentationText().
Here is the call graph for this function:
|
protected |
Get title for item.
| \ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem | $item |
| Throwable |
Definition at line 687 of file class.ilHelpGUI.php.
References $DIC.
Referenced by replaceItemTag().
Here is the caller graph for this function:| ilHelpGUI::hasSections | ( | ) |
Has sections?
return
Definition at line 162 of file class.ilHelpGUI.php.
References $ilSetting, $settings, getScreenId(), and ilHelpMapping\hasScreenIdSections().
Here is the call graph for this function:| ilHelpGUI::initHelp | ( | $a_tpl, | |
| $ajax_url | |||
| ) |
Render current help page.
return
Definition at line 412 of file class.ilHelpGUI.php.
References $ctrl, $DIC, $ilSetting, $ilUser, ilSession\get(), ilYuiUtil\initConnection(), iljQueryUtil\initMaphilight(), and setCtrlPar().
Here is the call graph for this function:| ilHelpGUI::isHelpPageActive | ( | ) |
Is help page active?
return
Definition at line 455 of file class.ilHelpGUI.php.
References ilSession\get().
Here is the call graph for this function:
|
protected |
Replace item tag.
return
Definition at line 645 of file class.ilHelpGUI.php.
References $DIC, and getTitleForItem().
Referenced by replaceMenuItemTags().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Help page post processing.
| string | $content |
| Throwable |
Definition at line 618 of file class.ilHelpGUI.php.
References $DIC, and replaceItemTag().
Referenced by showHelp(), and showPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilHelpGUI::resetCurrentPage | ( | ) |
Hide help.
return
Definition at line 382 of file class.ilHelpGUI.php.
References ilSession\clear().
Referenced by search(), and showHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilHelpGUI::search | ( | ) |
Search.
return
Definition at line 547 of file class.ilHelpGUI.php.
References $_GET, $lng, $result, $ui, ilLMObject\_lookupTitle(), ilGlyphGUI\CLOSE, exit, ilGlyphGUI\get(), ilSession\get(), ilHelp\getHelpLMId(), ilUtil\prepareFormOutput(), resetCurrentPage(), ilGlyphGUI\SEARCH, and ilSession\set().
Here is the call graph for this function:| ilHelpGUI::setCtrlPar | ( | ) |
Get help section url parameter.
return
Definition at line 188 of file class.ilHelpGUI.php.
References $_GET, $ctrl, and getScreenId().
Referenced by initHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilHelpGUI::setDefaultScreenId | ( | $a_part, | |
| $a_id | |||
| ) |
Set default screen id.
return
Definition at line 76 of file class.ilHelpGUI.php.
| ilHelpGUI::setScreenId | ( | $a_id | ) |
Set screen id.
Definition at line 86 of file class.ilHelpGUI.php.
References ID_PART_SCREEN.
| ilHelpGUI::setScreenIdComponent | ( | $a_comp | ) |
Set screen id component.
return
Definition at line 107 of file class.ilHelpGUI.php.
| ilHelpGUI::setSubScreenId | ( | $a_id | ) |
Set sub screen id.
Definition at line 96 of file class.ilHelpGUI.php.
References ID_PART_SUB_SCREEN.
| ilHelpGUI::showHelp | ( | ) |
Show online help.
Definition at line 220 of file class.ilHelpGUI.php.
References $_GET, $lng, $ui, ilLMObject\_exists(), ilLMObject\_lookupTitle(), ilGlyphGUI\CLOSE, exit, ilAccordionGUI\FIRST_OPEN, ilGlyphGUI\get(), ilSession\get(), ilHelp\getHelpLMId(), ilHelpMapping\getHelpSectionsForId(), ilLMObject\getPagesOfChapter(), replaceMenuItemTags(), resetCurrentPage(), ilGlyphGUI\SEARCH, and ilSession\set().
Here is the call graph for this function:| ilHelpGUI::showPage | ( | ) |
Show page.
return
Definition at line 302 of file class.ilHelpGUI.php.
References $_GET, $lng, $ret, $ui, ilPageUtil\_existsAndNotEmpty(), ilLMObject\_lookupTitle(), ilGlyphGUI\CLOSE, exit, ilGlyphGUI\get(), ilSession\get(), getLinkTargetsXML(), getLinkXML(), ilUtil\prepareFormOutput(), replaceMenuItemTags(), ilSession\set(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Here is the call graph for this function:
|
protected |
Definition at line 20 of file class.ilHelpGUI.php.
Referenced by getLinkXML(), initHelp(), and setCtrlPar().
| ilHelpGUI::$def_screen_id = array() |
Definition at line 41 of file class.ilHelpGUI.php.
| ilHelpGUI::$help_sections = array() |
Definition at line 37 of file class.ilHelpGUI.php.
|
protected |
Definition at line 30 of file class.ilHelpGUI.php.
Referenced by getTabTooltipText(), search(), showHelp(), and showPage().
|
protected |
Definition at line 52 of file class.ilHelpGUI.php.
| ilHelpGUI::$screen_id = array() |
Definition at line 42 of file class.ilHelpGUI.php.
Referenced by getScreenId().
|
protected |
Definition at line 25 of file class.ilHelpGUI.php.
Referenced by hasSections().
|
protected |
Definition at line 47 of file class.ilHelpGUI.php.
Referenced by search(), showHelp(), and showPage().
|
protected |
Definition at line 35 of file class.ilHelpGUI.php.
Referenced by activateTooltips(), and deactivateTooltips().
| const ilHelpGUI::ID_PART_COMPONENT = "component" |
Definition at line 40 of file class.ilHelpGUI.php.
| const ilHelpGUI::ID_PART_SCREEN = "screen" |
Definition at line 38 of file class.ilHelpGUI.php.
Referenced by ilTabsGUI\__getHTML(), ilObjStyleSheetGUI\createObject(), ilRepositoryGUI\executeCommand(), ilPDSelectedItemsBlockGUI\getHTML(), getScreenId(), and setScreenId().
| const ilHelpGUI::ID_PART_SUB_SCREEN = "sub_screen" |
Definition at line 39 of file class.ilHelpGUI.php.
Referenced by ilTabsGUI\__getHTML(), getScreenId(), and setSubScreenId().