Class ilMMTopParentItemRenderer.
More...
◆ addEntry()
- Parameters
-
Definition at line 104 of file class.ilMMTopParentItemRenderer.php.
References $target, ilGroupedListGUI\addEntry(), ilHelp\getMainMenuTooltip(), and ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle\getTitle().
Referenced by handleLinkList().
106 $target = $child instanceof
hasAction ? ($child->isLinkWithExternalAction() ?
"_blank" :
"_top") :
"_top";
107 $href = ($child instanceof
hasAction) ? $child->getAction() :
"#";
109 $a_id =
"mm_" . $child->getProviderIdentification()->getInternalIdentifier();
addEntry( $a_content, $a_href="", $a_target="", $a_onclick="", $a_add_class="", $a_id="", $a_ttip="", $a_tt_my="right center", $a_tt_at="left center", $a_tt_use_htmlspecialchars=true)
Add entry.
static getMainMenuTooltip($a_item_id)
Get main menu tooltip.
◆ handleAsyncContent()
ilMMTopParentItemRenderer::handleAsyncContent |
( |
|
$child, |
|
|
|
$gl |
|
) |
| |
|
private |
- Parameters
-
- Exceptions
-
Definition at line 131 of file class.ilMMTopParentItemRenderer.php.
References ilHelp\getMainMenuTooltip().
133 $identifier = $child->getProviderIdentification()->getInternalIdentifier();
134 $atpl =
new ilTemplate(
"tpl.self_loading_item.html",
false,
false,
'Services/MainMenu');
135 $atpl->setVariable(
"ASYNC_URL", $child->getAsyncContentURL());
special template class to simplify handling of ITX/PEAR
static getMainMenuTooltip($a_item_id)
Get main menu tooltip.
◆ handleContent()
ilMMTopParentItemRenderer::handleContent |
( |
hasContent |
$child, |
|
|
|
$gl |
|
) |
| |
|
private |
◆ handleLinkList()
ilMMTopParentItemRenderer::handleLinkList |
( |
|
$child, |
|
|
|
$gl, |
|
|
|
$i |
|
) |
| |
|
private |
- Parameters
-
Definition at line 181 of file class.ilMMTopParentItemRenderer.php.
References $i, and addEntry().
183 if (count($child->getLinks()) > 0) {
184 $gl->addGroupHeader($child->getTitle());
185 foreach ($child->getLinks() as $link) {
addEntry(ilGroupedListGUI $gl, hasTitle $child, string $identifier)
◆ handleSeparator()
ilMMTopParentItemRenderer::handleSeparator |
( |
|
$child, |
|
|
|
$gl |
|
) |
| |
|
private |
The documentation for this class was generated from the following file: