XOOPS  2.6.0
Xoops\Core\Database\Schema\PrefixStripper Class Reference
Inheritance diagram for Xoops\Core\Database\Schema\PrefixStripper:
Inheritance graph

Public Member Functions

 __construct (array $tables=array(), array $sequences=array(), SchemaConfig $schemaConfig=null)
 
 addSequence (Sequence $sequence)
 
 addTable (Table $table)
 
 setTableFilter (array $tableList)
 

Private Attributes

 $tableList = array()
 
 $xDbName = ''
 
 $xPrefix = ''
 

Detailed Description

Definition at line 34 of file PrefixStripper.php.

Constructor & Destructor Documentation

Xoops\Core\Database\Schema\PrefixStripper::__construct ( array  $tables = array(),
array  $sequences = array(),
SchemaConfig  $schemaConfig = null 
)

constructor

Definition at line 44 of file PrefixStripper.php.

References XoopsBaseConfig\get().

Here is the call graph for this function:

Member Function Documentation

Xoops\Core\Database\Schema\PrefixStripper::addSequence ( Sequence  $sequence)

Add a sequence to the schema

Parameters
Sequence$sequencea sequence
Returns
void

Definition at line 107 of file PrefixStripper.php.

References Xoops\getInstance().

Here is the call graph for this function:

Xoops\Core\Database\Schema\PrefixStripper::addTable ( Table  $table)

Add a table object to the schema

Parameters
Table$tabletable object to add
Returns
void

Definition at line 72 of file PrefixStripper.php.

References $name, and Xoops\getInstance().

Here is the call graph for this function:

Xoops\Core\Database\Schema\PrefixStripper::setTableFilter ( array  $tableList)

set list of tables to limit schema

If no list is specified, all tables will be included

Parameters
array$tableListlist of tables to include
Returns
void

Definition at line 60 of file PrefixStripper.php.

References Xoops\Core\Database\Schema\PrefixStripper\$tableList.

Member Data Documentation

Xoops\Core\Database\Schema\PrefixStripper::$tableList = array()
private
Xoops\Core\Database\Schema\PrefixStripper::$xDbName = ''
private

Definition at line 38 of file PrefixStripper.php.

Xoops\Core\Database\Schema\PrefixStripper::$xPrefix = ''
private

Definition at line 37 of file PrefixStripper.php.


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