PMA\libraries\navigation\NavigationTree::_getPaginationParamsHtml PHP Method

_getPaginationParamsHtml() private method

Renders the parameters that are required on the client side to know which page(s) we will be requesting data from
private _getPaginationParamsHtml ( Node $node ) : string
$node PMA\libraries\navigation\nodes\Node The node to create the pagination parameters for
return string
    private function _getPaginationParamsHtml($node)
    {
        $retval = '';
        $paths = $node->getPaths();
        if (isset($paths['aPath_clean'][2])) {
            $retval .= "<span class='hide pos2_name'>";
            $retval .= $paths['aPath_clean'][2];
            $retval .= "</span>";
            $retval .= "<span class='hide pos2_value'>";
            $retval .= htmlspecialchars($node->pos2);
            $retval .= "</span>";
        }
        if (isset($paths['aPath_clean'][4])) {
            $retval .= "<span class='hide pos3_name'>";
            $retval .= $paths['aPath_clean'][4];
            $retval .= "</span>";
            $retval .= "<span class='hide pos3_value'>";
            $retval .= htmlspecialchars($node->pos3);
            $retval .= "</span>";
        }
        return $retval;
    }