[ PHPXref.com ] [ Generated: Sun Jul 20 19:01:47 2008 ] [ N/X CMS 4.1 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/_installer/ -> classes_db.php (summary)

(no description)

File Size: 244 lines (8 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CreateMySQL:: (8 methods):
  CreateMySQL()
  execute()
  draw()
  check()
  readDump()
  assureDB()
  checkDBServer()
  splitSqlFile()


Class: CreateMySQL  - X-Ref

Creates databases and structures within it

CreateMySQL($dump="dump.sql")   X-Ref
Standard constructor


execute()   X-Ref
Create the database.


draw()   X-Ref
No description

check()   X-Ref
No description

readDump()   X-Ref
Create the structures from dump-file


assureDB()   X-Ref
Make sure, that db exists or create it


checkDBServer()   X-Ref
Checks, if servername, password and username are correct


splitSqlFile(&$ret, $sql, $release)   X-Ref
Removes comment lines and splits up large sql files into individual queries
Based on phpMyAdmin 2.3.0 Read Copyright at phpmyadmin.net for reuse.

param: array    the splitted sql commands
param: string   the sql commands
param: integer  the MySQL release number (because certains php3 versions
return: boolean  always true



[ Powered by PHPXref - Served by Debian GNU/Linux ]