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 25
__construct(Driver $driver)

No description

Parameters

Driver $driver

at line 34
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 143
array getForeignKeys(string $table)

Returns metadata for all foreign keys in a table.

Parameters

string $table

Return Value

array

at line 172
array getIndices(string $table)

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

Parameters

string $table

Return Value

array

at line 193
array getConstraints(string $table)

Returns list of constraints in given table.

Parameters

string $table

Return Value

array

at line 217
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 265
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 287
array getProceduresMeta()

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

Return Value

array

at line 339
array getProcedures()

Returns list of stored procedures.

Return Value

array

at line 357
array getGenerators()

Returns list of generators.

Return Value

array

at line 376
array getFunctions()

Returns list of user defined functions (UDF).

Return Value

array

Traits

Better OOP experience.