class FirebirdReflector implements Reflector

The reflector for Firebird/InterBase database.

Methods

__construct(Driver $driver)

No description

array
getTables()

Returns list of tables.

array
getColumns(string $table)

Returns metadata for all columns in a table.

array
getIndexes(string $table)

Returns metadata for all indexes in a table (the constraints are included).

array
getForeignKeys(string $table)

Returns metadata for all foreign keys in a table.

array
getIndices(string $table)

Returns list of indices in given table (the constraints are not listed).

array
getConstraints(string $table)

Returns list of constraints in given table.

array
getTriggersMeta(string $table = null)

Returns metadata for all triggers in a table or database.

array
getTriggers(string $table = null)

Returns list of triggers for given table.

array
getProceduresMeta()

Returns metadata from stored procedures and their input and output parameters.

array
getProcedures()

Returns list of stored procedures.

array
getGenerators()

Returns list of generators.

array
getFunctions()

Returns list of user defined functions (UDF).

Details

at line 26
__construct(Driver $driver)

No description

Parameters

Driver $driver

at line 35
array getTables()

Returns list of tables.

Return Value

array

of {name [, (bool) view ]}

at line 57
array getColumns(string $table)

Returns metadata for all columns in a table.

Parameters

string $table

Return Value

array

of {name, nativetype [, table, fullname, (int) size, (bool) nullable, (mixed) default, (bool) autoincrement, (array) vendor ]}

at line 110
array getIndexes(string $table)

Returns metadata for all indexes in a table (the constraints are included).

Parameters

string $table

Return Value

array

of {name, (array of names) columns [, (bool) unique, (bool) primary ]}

at line 142
array getForeignKeys(string $table)

Returns metadata for all foreign keys in a table.

Parameters

string $table

Return Value

array

at line 170
array getIndices(string $table)

Returns list of indices in given table (the constraints are not listed).

Parameters

string $table

Return Value

array

at line 190
array getConstraints(string $table)

Returns list of constraints in given table.

Parameters

string $table

Return Value

array

at line 213
array getTriggersMeta(string $table = null)

Returns metadata for all triggers in a table or database.

(Only if user has permissions on ALTER TABLE, INSERT/UPDATE/DELETE record in table)

Parameters

string $table

Return Value

array

at line 259
array getTriggers(string $table = null)

Returns list of triggers for given table.

(Only if user has permissions on ALTER TABLE, INSERT/UPDATE/DELETE record in table)

Parameters

string $table

Return Value

array

at line 278
array getProceduresMeta()

Returns metadata from stored procedures and their input and output parameters.

Return Value

array

at line 329
array getProcedures()

Returns list of stored procedures.

Return Value

array

at line 346
array getGenerators()

Returns list of generators.

Return Value

array

at line 364
array getFunctions()

Returns list of user defined functions (UDF).

Return Value

array

Traits

Better OOP experience.