Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • ExportVisitor
  • ImportSchema
  • PrefixStripper
  • RemovePrefixes
  • Overview
  • Namespace
  • Class
  • Tree

Class ExportVisitor

ExportVisitor is a Schema Visitor that builds an exportable array (not object) version of a schema.

Xoops\Core\Database\Schema\ExportVisitor implements Doctrine\DBAL\Schema\Visitor\Visitor
Namespace: Xoops\Core\Database\Schema
Package: Xoops\Core
Category: Xoops\Core\Database\Schema\ExportVisitor
Copyright: 2013 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Version: Release: 2.6
Since: 2.6.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Database/Schema/ExportVisitor.php
Methods summary
public
# __construct( )

Constructor

Constructor

public Doctrine\DBAL\Schema\Schema
# getSchemaArray( )

return the generated Schema

return the generated Schema

Returns

Doctrine\DBAL\Schema\Schema
the generated schema object
public
# acceptSchema( Doctrine\DBAL\Schema\Schema $schema )

Accept an entire schema. Do nothing in this visitor

Accept an entire schema. Do nothing in this visitor

Parameters

$schema
schema object
public
# acceptTable( Doctrine\DBAL\Schema\Table $table )

Accept a table

Accept a table

Parameters

$table
a table object
public
# acceptColumn( Doctrine\DBAL\Schema\Table $table, Doctrine\DBAL\Schema\Column $column )

Accept a column in a table

Accept a column in a table

Parameters

$table
a table object
$column
a column object
public
# acceptForeignKey( Doctrine\DBAL\Schema\Table $localTable, Doctrine\DBAL\Schema\ForeignKeyConstraint $fkConstraint )

Accept a foreign key for a table

Accept a foreign key for a table

Parameters

$localTable
a table object
$fkConstraint
a constraint object
public
# acceptIndex( Doctrine\DBAL\Schema\Table $table, Doctrine\DBAL\Schema\Index $index )

Accept an index on in a table

Accept an index on in a table

Parameters

$table
a table object
$index
a column object
public
# acceptSequence( Doctrine\DBAL\Schema\Sequence $sequence )

Accept an sequence

Accept an sequence

Parameters

$sequence
a sequence object
Properties summary
protected $schemaArray
#
API documentation generated by ApiGen