XOOPS  2.6.0
Xoops\Core\Database\Schema\ExportVisitor Class Reference
Inheritance diagram for Xoops\Core\Database\Schema\ExportVisitor:
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)
 
 getSchemaArray ()
 

Protected Attributes

 $schemaArray
 

Detailed Description

Definition at line 35 of file ExportVisitor.php.

Constructor & Destructor Documentation

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

Constructor

Definition at line 43 of file ExportVisitor.php.

Member Function Documentation

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

Accept a column in a table

Parameters
Table$tablea table object
Column$columna column object
Returns
void

Definition at line 90 of file ExportVisitor.php.

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

Accept a foreign key for a table

Parameters
Table$localTablea table object
ForeignKeyConstraint$fkConstrainta constraint object
Returns
void

Definition at line 105 of file ExportVisitor.php.

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

Accept an index on in a table

Parameters
Table$tablea table object
Index$indexa column object
Returns
void

Definition at line 128 of file ExportVisitor.php.

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

Accept an entire schema. Do nothing in this visitor

Parameters
Schema$schemaschema object
Returns
void

Definition at line 65 of file ExportVisitor.php.

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

Accept an sequence

Parameters
Sequence$sequencea sequence object
Returns
void

Definition at line 145 of file ExportVisitor.php.

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

Accept a table

Parameters
Table$tablea table object
Returns
void

Definition at line 77 of file ExportVisitor.php.

Xoops\Core\Database\Schema\ExportVisitor::getSchemaArray ( )

return the generated Schema

Returns
Schema the generated schema object

Definition at line 53 of file ExportVisitor.php.

References Xoops\Core\Database\Schema\ExportVisitor\$schemaArray.

Member Data Documentation

Xoops\Core\Database\Schema\ExportVisitor::$schemaArray
protected

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