Class: Doctrine_Import_Firebird

Source Location: /Doctrine/Import/Firebird.php

Class Doctrine_Import_Firebird

Class Overview

Located in /Doctrine/Import/Firebird.php [line 33]

Doctrine_Connection_Module
   |
   --Doctrine_Import
      |
      --Doctrine_Import_Firebird
Author(s): Information Tags:
Version:  $Revision: 1616 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Doctrine_Import

Doctrine_Import::$sql

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::$conn
Doctrine_Connection_Module::$moduleName

Inherited From Doctrine_Import

Doctrine_Import::importSchema()
importSchema
Doctrine_Import::listDatabases()
lists all databases
Doctrine_Import::listFunctions()
lists all availible database functions
Doctrine_Import::listSequences()
lists all database sequences
Doctrine_Import::listTableColumns()
lists table constraints
Doctrine_Import::listTableConstraints()
lists table constraints
Doctrine_Import::listTableIndexes()
lists table constraints
Doctrine_Import::listTables()
lists tables
Doctrine_Import::listTableTriggers()
lists table triggers
Doctrine_Import::listTableViews()
lists table views
Doctrine_Import::listTriggers()
lists all database triggers
Doctrine_Import::listUsers()
lists database users
Doctrine_Import::listViews()
lists database views

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::__construct()
Doctrine_Connection_Module::getConnection()
getConnection returns the connection object this module uses
Doctrine_Connection_Module::getModuleName()
getModuleName returns the name of this module

[ Top ]
Method Summary
array   listFunctions()   list all functions in the current database
mixed   listTableFields()   list all fields in a tables in the current database
array   listTables()   list all tables in the current database
array   listTableTriggers()   This function will be called to get all triggers of the current database ($this->conn->getDatabase())
array   listTableViews()   list the views in the database that reference a given table
array   listUsers()   list all users
array   listViews()   list the views in the database

[ Top ]
Properties
Methods
listFunctions  [line 97]

  array listFunctions( )

list all functions in the current database


API Tags:
Return:  data array containing all availible functions
Access:  public


Redefinition of:
Doctrine_Import::listFunctions()
lists all availible database functions

[ Top ]
listTableFields  [line 53]

  mixed listTableFields( string $table  )

list all fields in a tables in the current database

Parameters:
string   $table:  name of table that should be used in method

API Tags:
Return:  data array on success, a MDB2 error on failure
Access:  public


[ Top ]
listTables  [line 40]

  array listTables( [ $database = null]  )

list all tables in the current database

Parameters:
   $database: 

API Tags:
Return:  data array
Access:  public


Redefinition of:
Doctrine_Import::listTables()
lists tables

[ Top ]
listTableTriggers  [line 111]

  array listTableTriggers( string $table  )

This function will be called to get all triggers of the current database ($this->conn->getDatabase())

Parameters:
string   $table:  The name of the table from the previous database to query against.

API Tags:
Return:  data array containing all triggers for given table
Access:  public


Redefinition of:
Doctrine_Import::listTableTriggers()
lists table triggers

[ Top ]
listTableViews  [line 84]

  array listTableViews( string $table  )

list the views in the database that reference a given table

Parameters:
string   $table:  table for which all references views should be found

API Tags:
Return:  data array containing all views for given table
Access:  public


Redefinition of:
Doctrine_Import::listTableViews()
lists table views

[ Top ]
listUsers  [line 65]

  array listUsers( )

list all users


API Tags:
Return:  data array containing all database users
Access:  public


Redefinition of:
Doctrine_Import::listUsers()
lists database users

[ Top ]
listViews  [line 74]

  array listViews( [ $database = null]  )

list the views in the database

Parameters:
   $database: 

API Tags:
Return:  data array containing all database views
Access:  public


Redefinition of:
Doctrine_Import::listViews()
lists database views

[ Top ]