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

Public Member Functions

 __construct ()
 
 acceptColumn (Table $table, Column $column)
 
 acceptForeignKey (Table $localTable, ForeignKeyConstraint $fkConstraint)
 
 acceptIndex (Table $table, Index $index)
 
 acceptSchema (Schema $schema)
 
 acceptSequence (Sequence $sequence)
 
 acceptTable (Table $table)
 
 getNewSchema ()
 
 setTableFilter (array $tableList)
 

Protected Attributes

 $newSchema
 

Detailed Description

Definition at line 38 of file RemovePrefixes.php.

Constructor & Destructor Documentation

Xoops\Core\Database\Schema\RemovePrefixes::__construct ( )

Constructor

Definition at line 46 of file RemovePrefixes.php.

Member Function Documentation

Xoops\Core\Database\Schema\RemovePrefixes::acceptColumn ( Table  $table,
Column  $column 
)

accept a column in the schema - not used in this context

Parameters
Table$tablea table object to accept a column into
Column$columna column object to be accepted
Returns
void

Definition at line 107 of file RemovePrefixes.php.

Xoops\Core\Database\Schema\RemovePrefixes::acceptForeignKey ( Table  $localTable,
ForeignKeyConstraint  $fkConstraint 
)

Accept a foreign key in the schema - not used in this context

Parameters
Table$localTablelocal table to have foreign key
ForeignKeyConstraint$fkConstraintforeign key constraint
Returns
void

Definition at line 120 of file RemovePrefixes.php.

Xoops\Core\Database\Schema\RemovePrefixes::acceptIndex ( Table  $table,
Index  $index 
)

Accept an Index - not used in this context

Parameters
Table$tableindexed table
Index$indexindex to accept
Returns
void

Definition at line 133 of file RemovePrefixes.php.

Xoops\Core\Database\Schema\RemovePrefixes::acceptSchema ( Schema  $schema)

Accept schema - not used in this context

Parameters
Schema$schemaa schema object
Returns
void

Definition at line 82 of file RemovePrefixes.php.

Xoops\Core\Database\Schema\RemovePrefixes::acceptSequence ( Sequence  $sequence)

Accept a sequence

Parameters
Sequence$sequencesequence to accept
Returns
void

Definition at line 145 of file RemovePrefixes.php.

Xoops\Core\Database\Schema\RemovePrefixes::acceptTable ( Table  $table)

Accept a table with all its dependencies.

Parameters
Table$tablea table object
Returns
void

Definition at line 94 of file RemovePrefixes.php.

Xoops\Core\Database\Schema\RemovePrefixes::getNewSchema ( )

return the generated Schema

Returns
Schema the generated schema object

Definition at line 56 of file RemovePrefixes.php.

References Xoops\Core\Database\Schema\RemovePrefixes\$newSchema.

Xoops\Core\Database\Schema\RemovePrefixes::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 allow
Returns
void

Definition at line 70 of file RemovePrefixes.php.

Member Data Documentation

Xoops\Core\Database\Schema\RemovePrefixes::$newSchema
protected

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