[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/MDB/Modules/Manager/ -> ibase.php (sommaire)

(pas de description)

Poids: 487 lignes (23 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 MDB/Modules/Manager/Common.php

Définit 1 class

MDB_Manager_ibase:: (10 méthodes):
  createDatabase()
  dropDatabase()
  checkSupportedChanges()
  alterTable()
  listTableFields()
  listViews()
  createIndex()
  createSequence()
  dropSequence()
  listSequences()


Classe: MDB_Manager_ibase  - X-Ref

MDB FireBird/InterBase driver for the management modules

createDatabase(&$db, $name)   X-Ref
create a new database

param: object $db    database object that is extended by this class
param: string $name  name of the database that should be created
return: mixed        MDB_OK on success, a MDB error on failure

dropDatabase(&$db, $name)   X-Ref
drop an existing database

param: object $db    database object that is extended by this class
param: string $name  name of the database that should be dropped
return: mixed        MDB_OK on success, a MDB error on failure

checkSupportedChanges(&$db, &$changes)   X-Ref
check if planned changes are supported

param: object $db        database object that is extended by this class
param: string $name name of the database that should be dropped
return: mixed MDB_OK on success, a MDB error on failure

alterTable(&$db, $name, &$changes, $check)   X-Ref
alter an existing table

param: object    $db        database object that is extended by this class
param: string $name name of the table that is intended to be changed.
param: array $changes associative array that contains the details of each type
param: boolean $check indicates whether the function should just check if the DBMS driver
return: mixed MDB_OK on success, a MDB error on failure

listTableFields(&$db, $table)   X-Ref
list all fields in a tables in the current database

param: object    $db        database object that is extended by this class
param: string $table name of table that should be used in method
return: mixed data array on success, a MDB error on failure

listViews(&$db)   X-Ref
list the views in the database

param: object    $db        database object that is extended by this class
return: mixed MDB_OK on success, a MDB error on failure

createIndex(&$db, $table, $name, $definition)   X-Ref
get the stucture of a field into an array

param: object    $dbs        database object that is extended by this class
param: string    $table         name of the table on which the index is to be created
param: string    $name         name of the index to be created
param: array     $definition        associative array that defines properties of the index to be created.
return: mixed MDB_OK on success, a MDB error on failure

createSequence(&$db, $seq_name, $start)   X-Ref
create sequence

param: object    $db        database object that is extended by this class
param: string $seq_name name of the sequence to be created
param: string $start start value of the sequence; default is 1
return: mixed MDB_OK on success, a MDB error on failure

dropSequence(&$db, $seq_name)   X-Ref
drop existing sequence

param: object    $db        database object that is extended by this class
param: string $seq_name name of the sequence to be dropped
return: mixed MDB_OK on success, a MDB error on failure

listSequences(&$db)   X-Ref
list all sequences in the current database

param: object    $db        database object that is extended by this class
return: mixed data array on success, a MDB error on failure



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7