PMA_generate_common_hidden_inputs (line 31)
Generates text with hidden inputs.
string
PMA_generate_common_hidden_inputs
([string $db = ''], [string $table = ''], [int $indent = 0], [ $skip = array()])
-
string
$db: optional database name
-
string
$table: optional table name
-
int
$indent: indenting level
-
$skip
PMA_generate_common_url (line 187)
Generates text with URL parameters.
// OLD derepecated style
// note the ?
// 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
// NEW style
$params['myparam'] = 'myvalue';
$params['db'] = 'mysql';
$params['table'] = 'rights';
// note the missing ?
// 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 ?
// produces with cookies enabled:
// script.php
// with cookies disabled:
// script.php?server=1&lang=en-utf-8
string
PMA_generate_common_url
(mixed 0, string 1, string 2)
-
mixed
0: assoc. array with url params or optional string with database name if first param is an array there is also an ? prefixed to the url
-
string
1: optional table name only if first param is array
-
string
2: character to use instead of '&' for deviding multiple URL parameters from each other
PMA_getHiddenFields (line 112)
create hidden form fields from array with name => value
$values = array(
'aaa' => aaa,
'bbb' => array(
'bbb_0',
'bbb_1',
),
'ccc' => array(
'a' => 'ccc_a',
'b' => 'ccc_b',
),
);
// produces:
<input type="hidden" name="aaa" Value="aaa" />
<input type="hidden" name="bbb[0]" Value="bbb_0" />
<input type="hidden" name="bbb[1]" Value="bbb_1" />
<input type="hidden" name="ccc[a]" Value="ccc_a" />
<input type="hidden" name="ccc[b]" Value="ccc_b" />
string
PMA_getHiddenFields
(array $values, [string $pre = ''])
-
array
$values
-
string
$pre
PMA_get_arg_separator (line 278)
Returns url separator
string
PMA_get_arg_separator
([string $encode = 'none'])
-
string
$encode: whether to encode separator or not, currently 'none' or 'html'