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 ImportSchema

ImportSchema processes an array of schema information and creates a XOOPS_DB_PREFIX prefixed Schema object.

Namespace: Xoops\Core\Database\Schema
Package: Xoops\Core
Category: Xoops\Core\Database\Schema\ImportSchema
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/ImportSchema.php
Methods summary
public
# __construct( )

Constructor

Constructor

public Doctrine\DBAL\Schema\Schema
# importSchemaArray( array $schemaArray )

Import an array into a schema

Import an array into a schema

Parameters

$schemaArray
array version of a schema object

Returns

Doctrine\DBAL\Schema\Schema
object built from input array
public array
# importTables( array $tableArray )

Build array of Table objects to add to the schema

Build array of Table objects to add to the schema

Parameters

$tableArray
array of table definitions

Returns

array
of Table objects
public array
# importSequences( array $sequenceArray )

Build array of Sequence objects to add to the schema

Build array of Sequence objects to add to the schema

Parameters

$sequenceArray
array of table definitions

Returns

array
of Sequence objects
API documentation generated by ApiGen