[ Index ] |
|
Code source de phpMyAdmin 2.10.3 |
[Code source] [Imprimer] [Statistiques]
hold the PMA_List base class
Poids: | 154 lignes (4 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PMA_List:: (8 méthodes):
getFirst()
getSingleItem()
count()
getEmpty()
exists()
getHtmlOptions()
getDefault()
build()
getFirst() X-Ref |
returns first item from list return: string value of first item |
getSingleItem() X-Ref |
returns item only if there is only one in the list return: single item |
count() X-Ref |
returns list item count return: integer PMA_List::$items count |
getEmpty() X-Ref |
defines what is an empty item (0, '', false or null) return: mixed an empty item |
exists() X-Ref |
checks if the given db names exists in the current list, if there is missing at least one item it reutrns false other wise true param: string $db_name,.. one or more mysql result resources return: boolean true if all items exists, otheriwse false |
getHtmlOptions($selected = '') X-Ref |
returns HTML <option>-tags to be used inside <select></select> param: mixed $selected the selected db or true for selecting current db return: string HTML option tags |
getDefault() X-Ref |
returns default item return: string default item |
build() X-Ref |
builds up the list |
Généré le : Mon Nov 26 15:18:20 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |