ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Help GUI class. More...
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... | |
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... | |
Static Public Member Functions | |
static | initHelp ($a_tpl) |
Render current help page. 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 Attributes | |
$ctrl | |
$settings | |
$lng | |
$user | |
ilHelpGUI::__construct | ( | ) |
constructor
Definition at line 48 of file class.ilHelpGUI.php.
References $DIC, $ilCtrl, settings(), and user().
ilHelpGUI::activateTooltips | ( | ) |
Activate tooltips.
Definition at line 431 of file class.ilHelpGUI.php.
References $ilUser, and $user.
ilHelpGUI::addHelpSection | ( | $a_help_id, | |
$a_level = 1 |
|||
) |
ilHelpGUI::deactivateTooltips | ( | ) |
Deactivate tooltips.
Definition at line 418 of file class.ilHelpGUI.php.
References $ilUser, and $user.
ilHelpGUI::executeCommand | ( | ) |
execute command
Definition at line 195 of file class.ilHelpGUI.php.
ilHelpGUI::getHelpSections | ( | ) |
Get help sections.
Definition at line 166 of file class.ilHelpGUI.php.
References $_GET, ilHelpMapping\getHelpSectionsForId(), and getScreenId().
ilHelpGUI::getLinkTargetsXML | ( | ) |
Get XMl for Link Targets.
Definition at line 485 of file class.ilHelpGUI.php.
Referenced by showPage().
ilHelpGUI::getLinkXML | ( | $a_int_links | ) |
get xml for links
Definition at line 441 of file class.ilHelpGUI.php.
References $ctrl, $ilCtrl, $target, $target_arr, $target_id, and $type.
Referenced by showPage().
ilHelpGUI::getScreenId | ( | ) |
Get screen id.
Definition at line 109 of file class.ilHelpGUI.php.
References $screen_id.
Referenced by getHelpSections(), hasSections(), and setCtrlPar().
ilHelpGUI::getTabTooltipText | ( | $a_tab_id | ) |
Get tab tooltip text.
string | $a_tab_id | tab id |
Definition at line 374 of file class.ilHelpGUI.php.
References $lng, and ilHelp\getTooltipPresentationText().
ilHelpGUI::hasSections | ( | ) |
Has sections?
Definition at line 152 of file class.ilHelpGUI.php.
References $ilSetting, $settings, getScreenId(), and ilHelpMapping\hasScreenIdSections().
|
static |
Render current help page.
Definition at line 392 of file class.ilHelpGUI.php.
References $DIC, $ilSetting, $ilUser, and ilSession\get().
Referenced by ilTemplate\initHelp().
ilHelpGUI::resetCurrentPage | ( | ) |
Hide help.
Definition at line 362 of file class.ilHelpGUI.php.
References ilSession\clear().
Referenced by search(), and showHelp().
ilHelpGUI::search | ( | ) |
Search.
Definition at line 499 of file class.ilHelpGUI.php.
References $_GET, $lng, $r, $result, $s, ilLMObject\_lookupTitle(), ilGlyphGUI\CLOSE, exit, ilGlyphGUI\get(), ilSession\get(), ilHelp\getHelpLMId(), ilUtil\prepareFormOutput(), resetCurrentPage(), ilGlyphGUI\SEARCH, and ilSession\set().
ilHelpGUI::setCtrlPar | ( | ) |
Get help section url parameter.
Definition at line 178 of file class.ilHelpGUI.php.
References $_GET, $ctrl, $ilCtrl, and getScreenId().
ilHelpGUI::setDefaultScreenId | ( | $a_part, | |
$a_id | |||
) |
ilHelpGUI::setScreenId | ( | $a_id | ) |
ilHelpGUI::setScreenIdComponent | ( | $a_comp | ) |
ilHelpGUI::setSubScreenId | ( | $a_id | ) |
ilHelpGUI::showHelp | ( | ) |
Show online help.
Definition at line 210 of file class.ilHelpGUI.php.
References $_GET, $lng, ilLMObject\_exists(), ilLMObject\_lookupTitle(), ilGlyphGUI\CLOSE, exit, ilAccordionGUI\FIRST_OPEN, ilGlyphGUI\get(), ilSession\get(), ilHelp\getHelpLMId(), ilHelpMapping\getHelpSectionsForId(), ilLMObject\getPagesOfChapter(), resetCurrentPage(), ilGlyphGUI\SEARCH, and ilSession\set().
ilHelpGUI::showPage | ( | ) |
Show page.
Definition at line 283 of file class.ilHelpGUI.php.
References $_GET, $cfg, $lng, $ret, $t, ilPageUtil\_existsAndNotEmpty(), ilLMObject\_lookupTitle(), ilGlyphGUI\CLOSE, exit, ilGlyphGUI\get(), ilSession\get(), getLinkTargetsXML(), getLinkXML(), ilUtil\prepareFormOutput(), and ilSession\set().
|
protected |
Definition at line 21 of file class.ilHelpGUI.php.
Referenced by getLinkXML(), and setCtrlPar().
ilHelpGUI::$def_screen_id = array() |
Definition at line 42 of file class.ilHelpGUI.php.
ilHelpGUI::$help_sections = array() |
Definition at line 38 of file class.ilHelpGUI.php.
|
protected |
Definition at line 31 of file class.ilHelpGUI.php.
Referenced by getTabTooltipText(), search(), showHelp(), and showPage().
ilHelpGUI::$screen_id = array() |
Definition at line 43 of file class.ilHelpGUI.php.
Referenced by getScreenId().
|
protected |
Definition at line 26 of file class.ilHelpGUI.php.
Referenced by hasSections().
|
protected |
Definition at line 36 of file class.ilHelpGUI.php.
Referenced by activateTooltips(), and deactivateTooltips().
const ilHelpGUI::ID_PART_COMPONENT = "component" |
Definition at line 41 of file class.ilHelpGUI.php.
const ilHelpGUI::ID_PART_SCREEN = "screen" |
Definition at line 39 of file class.ilHelpGUI.php.
Referenced by ilTabsGUI\__getHTML(), ilObjStyleSheetGUI\createObject(), ilRepositoryGUI\executeCommand(), and ilPDSelectedItemsBlockGUI\getHTML().
const ilHelpGUI::ID_PART_SUB_SCREEN = "sub_screen" |
Definition at line 40 of file class.ilHelpGUI.php.
Referenced by ilTabsGUI\__getHTML().