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

Set of functions used with the bookmark feature

Poids: 222 lignes (7 kb)
Inclus ou requis: 10 fois
Référencé: 0 fois
Nécessite: 1 fichier
 libraries/relation.lib.php

Définit 6 fonctions

  PMA_getBookmarksParam()
  PMA_listBookmarks()
  PMA_queryBookmarks()
  PMA_queryDBBookmarks()
  PMA_addBookmarks()
  PMA_deleteBookmarks()

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

PMA_getBookmarksParam()   X-Ref
Defines the bookmark parameters for the current user

return: array    the bookmark parameters for the current user

PMA_listBookmarks($db, $cfgBookmark)   X-Ref
Gets the list of bookmarks defined for the current database

param: string    the current database name
param: array     the bookmark parameters for the current user
return: mixed     the bookmarks list if defined, false else

PMA_queryBookmarks($db, $cfgBookmark, $id, $id_field = 'id', $action_bookmark_all = FALSE)   X-Ref
Gets the sql command from a bookmark

param: string    the current database name
param: array     the bookmark parameters for the current user
param: mixed     the id of the bookmark to get
param: string    which field to look up the $id
param: boolean  TRUE: get all bookmarks regardless of the owning user
return: string    the sql query

PMA_queryDBBookmarks($db, $cfgBookmark, &$table_array)   X-Ref
Gets bookmarked DefaultQuery for a Table

param: string    the current database name
param: array     the bookmark parameters for the current user
param: array     the list of all labels to look for
return: array     bookmark SQL statements

PMA_addBookmarks($fields, $cfgBookmark, $all_users = false)   X-Ref
Adds a bookmark

param: array     the properties of the bookmark to add
param: array     the bookmark parameters for the current user
param: boolean   whether to make the bookmark available for all users
return: boolean   whether the INSERT succeeds or not

PMA_deleteBookmarks($db, $cfgBookmark, $id)   X-Ref
Deletes a bookmark

param: string   the current database name
param: array    the bookmark parameters for the current user
param: integer  the id of the bookmark to get



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