|
23 | 23 | $tooltip_truename, |
24 | 24 | $tooltip_aliasname, |
25 | 25 | $pos |
26 | | - ) = PMA_Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); |
| 26 | + ) = PMA\libraries\Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); |
27 | 27 | } |
28 | 28 |
|
29 | | -$response = PMA_Response::getInstance(); |
| 29 | +$response = PMA\libraries\Response::getInstance(); |
30 | 30 | $header = $response->getHeader(); |
31 | 31 | $header->enablePrintView(); |
32 | 32 |
|
|
36 | 36 | $cfgRelation = PMA_getRelationsParam(); |
37 | 37 |
|
38 | 38 | require_once 'libraries/transformations.lib.php'; |
39 | | -require_once 'libraries/Index.class.php'; |
| 39 | +require_once 'libraries/Index.php'; |
40 | 40 |
|
41 | 41 | /** |
42 | 42 | * Check parameters |
43 | 43 | */ |
44 | | -PMA_Util::checkParameters(array('db')); |
| 44 | +PMA\libraries\Util::checkParameters(array('db')); |
45 | 45 |
|
46 | 46 | /** |
47 | 47 | * Defines the url to return to in case of error in a sql statement |
|
86 | 86 | $GLOBALS['dbi']->selectDb($db); |
87 | 87 | $indexes = $GLOBALS['dbi']->getTableIndexes($db, $table); |
88 | 88 | list($primary, $pk_array, $indexes_info, $indexes_data) |
89 | | - = PMA_Util::processIndexData($indexes); |
| 89 | + = PMA\libraries\Util::processIndexData($indexes); |
90 | 90 |
|
91 | 91 | /** |
92 | 92 | * Gets columns properties |
|
130 | 130 | $row['Null'] = 'NO'; |
131 | 131 | } |
132 | 132 | $extracted_columnspec |
133 | | - = PMA_Util::extractColumnSpec($row['Type']); |
| 133 | + = PMA\libraries\Util::extractColumnSpec($row['Type']); |
134 | 134 |
|
135 | 135 | // reformat mysql query output |
136 | 136 | // set or enum types: slashes single quotes inside options |
|
157 | 157 | } |
158 | 158 | echo '</td>'; |
159 | 159 | echo '<td' |
160 | | - . PMA_Util::getClassForType( |
| 160 | + . PMA\libraries\Util::getClassForType( |
161 | 161 | $extracted_columnspec['type'] |
162 | 162 | ) |
163 | 163 | . ' lang="en" dir="ltr">' . $type . '</td>'; |
|
203 | 203 | $count++; |
204 | 204 | echo '</table>'; |
205 | 205 | // display indexes information |
206 | | - if (count(PMA_Index::getFromTable($table, $db)) > 0) { |
207 | | - echo PMA_Index::getHtmlForIndexes($table, $db, true); |
| 206 | + if (count(PMA\libraries\Index::getFromTable($table, $db)) > 0) { |
| 207 | + echo PMA\libraries\Index::getHtmlForIndexes($table, $db, true); |
208 | 208 | } |
209 | 209 | echo '</div>'; |
210 | 210 | } //ends main while |
211 | 211 |
|
212 | 212 | /** |
213 | 213 | * Displays the footer |
214 | 214 | */ |
215 | | -echo PMA_Util::getButton(); |
| 215 | +echo PMA\libraries\Util::getButton(); |
0 commit comments