public static getNavigationLink ( string $link, boolean $showText, string $text, boolean $showIcon, string $icon, string $linkId = '', boolean $disableAjax = false, string $linkTarget = '', array $classes = [] ) : string | ||
$link | string | The url for the link |
$showText | boolean | Whether to show the text or to only use it for title attributes |
$text | string | The text to display and use for title attributes |
$showIcon | boolean | Whether to show the icon |
$icon | string | The filename of the icon to show |
$linkId | string | Value to use for the ID attribute |
$disableAjax | boolean | Whether to disable ajax page loading for this link |
$linkTarget | string | The name of the target frame for the link |
$classes | array | HTML classes to apply |
Результат | string | HTML code for one link |