lodel
[ class tree: lodel ] [ index: lodel ] [ all elements ]

Procedural File: backupfunc.php

Source Location: /lodel/scripts/backupfunc.php



Page Details:



Includes:

require("pma/sqlparser.data.php") [line 65]
require("pma/string.lib.php") [line 64]
require("pma/mysql_wrappers.lib.php") [line 57]
require("pma/sql-modified.php") [line 61]
require("pma/common.lib.php") [line 60]
require("pma/defines_php.lib.php") [line 59]
require("pma/defines.lib.php") [line 58]
require("pma/sqlparser.lib.php") [line 66]






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
[ Top ]



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
[ Top ]



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:

return:  dump
access:  public


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  
[ Top ]



operation [line 72]

void operation( $operation, $archivetmp, $archivefilename, &$context)

Operation. Propose various way to retrieve/store a file



Parameters

   $operation  
   $archivetmp  
   $archivefilename  
   &$context  
[ Top ]



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  
[ Top ]



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:

return:  unmodified text
access:  public


Parameters

string   $what   text
[ Top ]



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:

return:  unmodified text
access:  public


Parameters

string   $text   text
[ Top ]



PMA_exportOutputHandler [line 206]

bool PMA_exportOutputHandler( string $line)

Output handler.



Tags:

return:  Whether output suceeded


Parameters

string   $line   the insert statement
[ Top ]



Documentation generated on Wed, 11 Mar 2009 10:48:59 +0100 by phpDocumentor 1.4.2