XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
db_manager Class Reference

Public Member Functions

 createDB ()
 
 db_manager ()
 
 dbExists ()
 
 deleteTables ($tables)
 
 fetchArray ($ret)
 
 insert ($table, $query)
 
 isConnectable ()
 
 isError ()
 
 prefix ($table)
 
 query ($sql)
 
 queryFromFile ($sql_file_path)
 
 report ()
 
 tableExists ($table)
 

Public Attributes

 $db
 
 $f_tables = array()
 
 $failureStrings
 
 $s_tables = array()
 
 $successStrings
 

Detailed Description

database manager for XOOPS installer

Author
Haruki Setoyama haruk.nosp@m.i@pl.nosp@m.anewa.nosp@m.ve.o.nosp@m.rg
Version
Id:
dbmanager.php 8066 2011-11-06 05:09:33Z beckmi

public

Definition at line 38 of file dbmanager.php.

Member Function Documentation

db_manager::createDB ( )

Definition at line 62 of file dbmanager.php.

References $result, and XOOPS_DB_NAME.

db_manager::db_manager ( )

Definition at line 45 of file dbmanager.php.

References XoopsDatabaseFactory\getDatabase(), XoopsLogger\getInstance(), and XOOPS_DB_PREFIX.

Here is the call graph for this function:

db_manager::dbExists ( )

Definition at line 57 of file dbmanager.php.

db_manager::deleteTables (   $tables)

Definition at line 223 of file dbmanager.php.

References $tables.

db_manager::fetchArray (   $ret)

Definition at line 190 of file dbmanager.php.

References $ret.

db_manager::insert (   $table,
  $query 
)

Definition at line 196 of file dbmanager.php.

References $query.

db_manager::isConnectable ( )

Definition at line 52 of file dbmanager.php.

db_manager::isError ( )

Definition at line 218 of file dbmanager.php.

db_manager::prefix (   $table)

Definition at line 184 of file dbmanager.php.

db_manager::query (   $sql)

Definition at line 178 of file dbmanager.php.

References $sql.

db_manager::queryFromFile (   $sql_file_path)

Definition at line 71 of file dbmanager.php.

References $tables, SqlUtility\prefixQuery(), and SqlUtility\splitMySqlFile().

Here is the call graph for this function:

db_manager::report ( )

Definition at line 152 of file dbmanager.php.

References $content.

db_manager::tableExists (   $table)

Definition at line 235 of file dbmanager.php.

References $ret, and $sql.

Member Data Documentation

db_manager::$db

Definition at line 43 of file dbmanager.php.

db_manager::$f_tables = array()

Definition at line 42 of file dbmanager.php.

db_manager::$failureStrings
Initial value:
= array(
'create' => TABLE_NOT_CREATED,
'insert' => ROWS_FAILED,
'alter' => TABLE_NOT_ALTERED,
'drop' => TABLE_NOT_DROPPED,
)

Definition at line 144 of file dbmanager.php.

db_manager::$s_tables = array()

Definition at line 41 of file dbmanager.php.

db_manager::$successStrings
Initial value:
= array(
'create' => TABLE_CREATED,
'insert' => ROWS_INSERTED,
'alter' => TABLE_ALTERED,
'drop' => TABLE_DROPPED,
)

Definition at line 138 of file dbmanager.php.


The documentation for this class was generated from the following file: