PMA\libraries\DisplayResults::_getActionLinkContent PHP Method

_getActionLinkContent() private method

Get content inside the table row action links (Edit/Copy/Delete)
private _getActionLinkContent ( string $icon, string $display_text ) : string
$icon string The name of the file to get
$display_text string The text displaying after the image icon
return string
    private function _getActionLinkContent($icon, $display_text)
    {
        $linkContent = '';
        if (isset($GLOBALS['cfg']['RowActionType']) && $GLOBALS['cfg']['RowActionType'] == self::ACTION_LINK_CONTENT_ICONS) {
            $linkContent .= '<span class="nowrap">' . Util::getImage($icon, $display_text) . '</span>';
        } else {
            if (isset($GLOBALS['cfg']['RowActionType']) && $GLOBALS['cfg']['RowActionType'] == self::ACTION_LINK_CONTENT_TEXT) {
                $linkContent .= '<span class="nowrap">' . $display_text . '</span>';
            } else {
                $linkContent .= Util::getIcon($icon, $display_text);
            }
        }
        return $linkContent;
    }
DisplayResults