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 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 58
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 111
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 144
array getForeignKeys(string $table)

Returns metadata for all foreign keys in a table.

Parameters

string $table

Return Value

array

at line 173
array getIndices(string $table)

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

Parameters

string $table

Return Value

array

at line 194
array getConstraints(string $table)

Returns list of constraints in given table.

Parameters

string $table

Return Value

array

at line 218
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 266
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 288
array getProceduresMeta()

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

Return Value

array

at line 340
array getProcedures()

Returns list of stored procedures.

Return Value

array

at line 358
array getGenerators()

Returns list of generators.

Return Value

array

at line 377
array getFunctions()

Returns list of user defined functions (UDF).

Return Value

array

Traits

Better OOP experience.