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|null $table = null)

Returns metadata for all triggers in a table or database.

array
getTriggers(string|null $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 23
__construct(Driver $driver)

No description

Parameters

Driver $driver

at line 32
array getTables()

Returns list of tables.

Return Value

array

of {name [, (bool) view ]}

at line 55
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 108
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 141
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 191
array getConstraints(string $table)

Returns list of constraints in given table.

Parameters

string $table

Return Value

array

at line 215
array getTriggersMeta(string|null $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|null $table

Return Value

array

at line 263
array getTriggers(string|null $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|null $table

Return Value

array

at line 285
array getProceduresMeta()

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

Return Value

array

at line 337
array getProcedures()

Returns list of stored procedures.

Return Value

array

at line 355
array getGenerators()

Returns list of generators.

Return Value

array

at line 374
array getFunctions()

Returns list of user defined functions (UDF).

Return Value

array