XOOPS  2.6.0
Maintenance Class Reference

Public Member Functions

 displayTables ($array=true)
 
 dump_table_datas ($table)
 
 dump_table_structure ($table, $drop)
 
 dump_write ($sql_text)
 
 Maintenance ()
 

Public Attributes

 $db
 
 $prefix
 

Detailed Description

Definition at line 29 of file maintenance.php.

Member Function Documentation

Maintenance::displayTables (   $array = true)

Display Tables

Parameters
array
Returns

Definition at line 51 of file maintenance.php.

References $result.

Maintenance::dump_table_datas (   $table)

Dump table data

Parameters
stringtable
Returns
array 'ret[sql_text] = dump, ret[records] = display records

Definition at line 101 of file maintenance.php.

References $count, $i, $index, and $result.

Maintenance::dump_table_structure (   $table,
  $drop 
)

Dump table structure

Parameters
stringtable
intdrop
Returns
array 'ret[sql_text] = dump, ret[structure] = display structure

Definition at line 74 of file maintenance.php.

References $result.

Maintenance::dump_write (   $sql_text)

Dump Write

Parameters
string
Returns
array 'ret[file_name] = file name, ret[write] = write

Definition at line 164 of file maintenance.php.

Maintenance::Maintenance ( )

Constructor

Definition at line 37 of file maintenance.php.

References $db, and $xoopsDB.

Member Data Documentation

Maintenance::$db

Definition at line 31 of file maintenance.php.

Referenced by Maintenance().

Maintenance::$prefix

Definition at line 32 of file maintenance.php.


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