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 PrefixStripper

PrefixStripper extends Schema so we can easily add tables and sequences selectively while visiting another schema.

New schema will be stripped of database and prefix and optionally filered by a table list

Doctrine\DBAL\Schema\Schema
Extended by Xoops\Core\Database\Schema\PrefixStripper
Namespace: Xoops\Core\Database\Schema
Package: Xoops\Core
Category: Xoops\Core\Database\Schema\PrefixStripper
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/PrefixStripper.php
Methods summary
public
# __construct( array $tables = array(), array $sequences = array(), Xoops\Core\Database\Schema\SchemaConfig $schemaConfig = null )

constructor

constructor

public
# setTableFilter( array $tableList )

set list of tables to limit schema

set list of tables to limit schema

If no list is specified, all tables will be included

Parameters

$tableList
list of tables to include
public
# addTable( Doctrine\DBAL\Schema\Table $table )

Add a table object to the schema

Add a table object to the schema

Parameters

$table
table object to add
public
# addSequence( Doctrine\DBAL\Schema\Sequence $sequence )

Add a sequence to the schema

Add a sequence to the schema

Parameters

$sequence
a sequence
API documentation generated by ApiGen