public static function getHelpText($name = null, $title = null) { $help = MageBridgeHelper::getHelpItem($name); $target = $help['internal'] == 0 ? ' target="_new"' : ''; $title = !empty($title) ? $title : JText::_($help['title']); return '<a href="' . $help['link'] . '"' . $target . '>' . $title . '</a>'; }