Procedural File: backupfunc.php
Source Location: /lodel/scripts/backupfunc.php
Page Details:
Includes:
importFromZip [line 265]
void importFromZip(
string $archive, array $accepteddirs, [array $acceptedexts = array ()], [string $sqlfile = ''], [bool $xml = false])
|
|
Importation d'un ME ou de données depuis son archive ZIP
Parameters
| string |
$archive |
le chemin vers le fichier ZIP |
| array |
$accepteddirs |
la liste des répertoires acceptés dans l'archive ZIP |
| array |
$acceptedexts |
la liste des types de fichiers acceptés |
| string |
$sqlfile |
le nom du fichier SQL à traiter. Vide par défaut |
| bool |
$xml |
si on utilise l'import XML |
lodelprefix [line 183]
void lodelprefix(
string $table)
|
|
Enlève le préfixe actuel et ajoute le préfixe par défaut dans une table MySQL Cette fonction est utilisée dans les fonctions PMA
Parameters
| string |
$table |
le nom de la table |
mysql_dump [line 107]
string mysql_dump(
string $db, string $tables, string $output, [string $fh = 0], [ $create = true], [ $drop = true], [ $contents = true], [ $select = '*'], [ $where = ''])
|
|
Dump the database using phpMyAdmin functions (should be encaplused into an Object, this have far too much arguments! or use an assoc for the options!!)
Tags:
Parameters
| string |
$db |
database |
| string |
$tables |
output filename |
| string |
$output |
drop the tables |
| string |
$fh |
the file handle for the outputfile. If not set, a file is open and close. |
| |
$create |
|
| |
$drop |
|
| |
$contents |
|
| |
$select |
|
| |
$where |
|
operation [line 72]
void operation(
$operation, $archivetmp, $archivefilename, &$context)
|
|
Operation. Propose various way to retrieve/store a file
Parameters
| |
$operation |
|
| |
$archivetmp |
|
| |
$archivefilename |
|
| |
&$context |
|
parse_mysql_dump [line 155]
void parse_mysql_dump(
string $url, [ $ignoreerrors = false], boolean $ignoreerrors.)
|
|
Parse un dump MySQL et execute les requêtes.
Parameters
| string |
$url |
le fichier SQL |
| boolean |
$ignoreerrors. |
false par défaut |
| |
$ignoreerrors |
|
PMA_convert_charset [line 235]
string PMA_convert_charset(
string $what)
|
|
A do nothing function Used by phpMyAdmin functions. Conversion is not needed here.
Tags:
Parameters
PMA_convert_display_charset [line 251]
string PMA_convert_display_charset(
string $text)
|
|
A do nothing function Used by phpMyAdmin functions. Conversion is not needed here.
Tags:
Parameters
PMA_exportOutputHandler [line 206]
bool PMA_exportOutputHandler(
string $line)
|
|
Output handler.
Tags:
Parameters
| string |
$line |
the insert statement |
|
|