Class iam_restore

Description

IAM_restore A class for restoring a database from a backup file

Located in /iam_restore.php (line 26)


	
			
Variable Summary
string $dbname
string $dbpass
string $dbuser
String $filename
string $host
Method Summary
iam_restore iam_restore (String $filename, string $host, mixed $dbname, string $dbuser, string $dbpass, string $dbanme)
void perform_restore ()
String _Open ()
Variables
string $dbname = "mysql" (line 38)
  • var: Database to restore
  • access: private
string $dbpass = "" (line 51)
  • var: Password to access the Database
  • access: private
string $dbuser = "root" (line 45)
  • var: User to access the Database
  • access: private
String $filename (line 58)
  • var: Filename from which the class will restore the DB
  • access: private
string $host = "localhost" (line 32)
  • var: Host that holds the DB
  • access: private
Methods
Constructor iam_restore (line 69)

Initialize this class. Constructor

  • access: public
iam_restore iam_restore (String $filename, string $host, mixed $dbname, string $dbuser, string $dbpass, string $dbanme)
  • String $filename: Filename from which the class will restore the DB
  • string $host: Host that holds the DB
  • string $dbanme: Database to restore
  • string $dbuser: User to access the Database
  • string $dbpass: Password to access the Database
perform_restore (line 98)

Restore the data from file

  • access: public
void perform_restore ()
_Open (line 83)

Open the file containing the backup data

  • return: a String containing the DB Dump
  • access: private
String _Open ()

Documentation generated on Thu, 11 Dec 2003 15:35:29 -0300 by phpDocumentor 1.2.3