[ Index ] |
|
Code source de phpMyAdmin 2.10.3 |
[Code source] [Imprimer] [Statistiques]
URL/hidden inputs generating.
Poids: | 224 lignes (7 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PMA_generate_common_hidden_inputs($db = '', $table = '', $indent = 0, $skip = array() X-Ref |
Generates text with hidden inputs. author: nijel param: string optional database name param: string optional table name param: int indenting level return: string string with input fields |
PMA_generate_common_url($db = '', $table = '', $delim = '&') X-Ref |
Generates text with URL parameters. <code> // note the ? echo 'script.php?' . PMA_generate_common_url('mysql', 'rights'); // produces with cookies enabled: // script.php?db=mysql&table=rights // with cookies disabled: // script.php?server=1&lang=en-utf-8&db=mysql&table=rights $params['myparam'] = 'myvalue'; $params['db'] = 'mysql'; $params['table'] = 'rights'; // note the missing ? echo 'script.php' . PMA_generate_common_url($params); // produces with cookies enabled: // script.php?myparam=myvalue&db=mysql&table=rights // with cookies disabled: // script.php?server=1&lang=en-utf-8&myparam=myvalue&db=mysql&table=rights // note the missing ? echo 'script.php' . PMA_generate_common_url(); // produces with cookies enabled: // script.php // with cookies disabled: // script.php?server=1&lang=en-utf-8 </code> author: nijel param: mixed assoc. array with url params or optional string with database name param: string optional table name only if first param is array param: string character to use instead of '&' for deviding return: string string with URL parameters |
PMA_get_arg_separator() X-Ref |
Returns url separator author: nijel return: string character used for separating url parts |
Généré le : Mon Nov 26 15:18:20 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |