PMA\libraries\DisplayResults::_getPlacedTableNavigations PHP Méthode

_getPlacedTableNavigations() private méthode

Prepare table navigation bar at the top or bottom
See also: _getTable()
private _getPlacedTableNavigations ( integer $pos_next, integer $pos_prev, string $place, boolean $is_innodb, string $sort_by_key_html ) : string
$pos_next integer the offset for the "next" page
$pos_prev integer the offset for the "previous" page
$place string the place to show navigation
$is_innodb boolean whether its InnoDB or not
$sort_by_key_html string the sort by key dialog
Résultat string html content of navigation bar
    private function _getPlacedTableNavigations($pos_next, $pos_prev, $place, $is_innodb, $sort_by_key_html)
    {
        $navigation_html = '';
        if ($place == self::PLACE_BOTTOM_DIRECTION_DROPDOWN) {
            $navigation_html .= '<br />' . "\n";
        }
        $navigation_html .= $this->_getTableNavigation($pos_next, $pos_prev, $is_innodb, $sort_by_key_html);
        if ($place == self::PLACE_TOP_DIRECTION_DROPDOWN) {
            $navigation_html .= "\n";
        }
        return $navigation_html;
    }
DisplayResults