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

Library for extracting information about the available storage engines

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

Définit 1 class

PMA_StorageEngine:: (11 méthodes):
  getEngine()
  __construct()
  PMA_StorageEngine()
  getTitle()
  getComment()
  getSupportInformationMessage()
  getVariables()
  getMysqlHelpPage()
  getVariablesLikePattern()
  getInfoPages()
  getPage()

Définit 11 fonctions

  PMA_generateEnginesDropdown()

Classe: PMA_StorageEngine  - X-Ref

Abstract Storage Engine Class

getEngine($engine)   X-Ref
public static final PMA_StorageEngine getEngine()

Loads the corresponding engine plugin, if available.

param: string  $engine   The engine ID
return: object  The engine plugin

__construct($engine)   X-Ref
Constructor

param: string  $engine The engine ID

PMA_StorageEngine($engine)   X-Ref
old PHP 4 style constructor

param: string  $engine engine name

getTitle()   X-Ref
public String getTitle()

Reveals the engine's title
return: string   The title

getComment()   X-Ref
public String getComment()

Fetches the server's comment about this engine
return: string   The comment

getSupportInformationMessage()   X-Ref
public String getSupportInformationMessage()

return: string   The localized message.

getVariables()   X-Ref
public string[][] getVariables()

Generates a list of MySQL variables that provide information about this
engine. This function should be overridden when extending this class
for a particular engine.

return: Array   The list of variables.

getMysqlHelpPage()   X-Ref
returns string with filename for the MySQL helppage
about this storage engne

return: string  mysql helppage filename

getVariablesLikePattern()   X-Ref
public string getVariablesLikePattern()

return: string  SQL query LIKE pattern

getInfoPages()   X-Ref
public String[] getInfoPages()

Returns a list of available information pages with labels

return: array    The list

getPage($id)   X-Ref
public String getPage()

Generates the requested information page

param: string  $id The page ID
return: string      The page

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

PMA_generateEnginesDropdown($name = 'engine', $id = null,$offerUnavailableEngines = false, $selected = null, $indent = 0)   X-Ref
Function for generating the storage engine selection

author: rabus
param: string  $name       The name of the select form element
param: string  $id         The ID of the form field
param: boolean $offerUnavailableEngines
param: string  $selected   The selected engine
param: int     $indent     The indentation level
return: string  html selectbox



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