[ Index ]
 

Code source de phpMyAdmin 2.10.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libraries/ -> display_tbl.lib.php (sommaire)

Set of functions used to display the records returned by a sql query

Poids: 2031 lignes (104 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 libraries/Table.class.php

Définit 2 fonctions

  PMA_setDisplayMode()
  PMA_displayTableNavigation()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

PMA_setDisplayMode(&$the_disp_mode, &$the_total)   X-Ref
Defines the display mode to use for the results of a sql query

It uses a synthetic string that contains all the required informations.
In this string:
- the first two characters stand for the action to do while
clicking on the "edit" link (eg 'ur' for update a row, 'nn' for no
edit link...);
- the next two characters stand for the action to do while
clicking on the "delete" link (eg 'kp' for kill a process, 'nn' for
no delete link...);
- the next characters are boolean values (1/0) and respectively stand
for sorting links, navigation bar, "insert a new row" link, the
bookmark feature, the expand/collapse text/blob fields button and
the "display printable view" option.
Of course '0'/'1' means the feature won't/will be enabled.

param: string   the synthetic value for display_mode (see �1 a few
param: integer  the total number of rows returned by the sql query
return: array    an array with explicit indexes for all the display

PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_query)   X-Ref
Displays a navigation bar to browse among the results of a sql query

param: integer  the offset for the "next" page
param: integer  the offset for the "previous" page
param: string   the url-encoded query



Généré le : Mon Nov 26 15:18:20 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics