[ 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/ -> tbl_indexes.lib.php (sommaire)

function library for handling table indexes

Poids: 258 lignes (10 kb)
Inclus ou requis: 5 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 6 fonctions

  PMA_get_indextypes()
  PMA_get_indexes()
  PMA_check_indexes()
  PMA_extract_indexes()
  PMA_show_indexes()
  PMA_index_warning()

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

PMA_get_indextypes()   X-Ref
Return a list of all index types

author: Garvin Hicking (pma@supergarv.de)
return: array       Index types

PMA_get_indexes($tbl_name, $err_url_0 = '')   X-Ref
Function to get all index information from a certain table

param: string      Table name
param: string      Error URL
return: array       Index keys

PMA_check_indexes($idx_collection, $table = true)   X-Ref
Function to check over array of indexes and look for common problems

author: Garvin Hicking (pma@supergarv.de)
param: array       Array of indexes
param: boolean     Whether to output HTML in table layout
return: string      Output HTML

PMA_extract_indexes(&$ret_keys, &$indexes, &$indexes_info, &$indexes_data)   X-Ref
Loop array of returned index keys and extract key information to
seperate arrays. Those arrays are passed by reference.

author: Garvin Hicking (pma@supergarv.de)
param: array       Referenced Array of indexes
param: array       Referenced return array
param: array       Referenced return array
param: array       Referenced return array
return: boolean     void

PMA_show_indexes($table, &$indexes, &$indexes_info, &$indexes_data, $display_html = true, $print_mode = false)   X-Ref
Show index data and prepare returned collection array for index
key checks.

author: Garvin Hicking (pma@supergarv.de)
param: string      $table          The tablename
param: array       $indexes        Referenced Array of indexes
param: array       $indexes_info   Referenced info array
param: array       $indexes_data   Referenced data array
param: boolean     $display_html   Output HTML code, or just return collection array?
param: boolean     $print_mode
return: array       Index collection array

PMA_index_warning($string, $table = true)   X-Ref
Function to emit a index warning

author: Garvin Hicking (pma@supergarv.de)
param: string      $string     Message string
param: boolean     $table      Whether to output HTML in table layout
return: string      Output HTML



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