.

IDBTable Interface Reference
[Interfaces]

Interface for DB table. More...

Inheritance diagram for IDBTable:
DBTable DBTableAlias IDataObject DBTableSubquery MockIDBTable DataObjectBase DAOCache DAOCoursesTest DAOFormvalidations DAORoomsTest DAOSessions DAOStudentsTest DAOStudentsTest2CoursesTest DAOSystemupdates DAOTeachersTest DataObjectCached

List of all members.

Public Member Functions

  get_matching_relations (IDBTable $other)
  Returns relations between two tables.
  get_table_alias ()
  Returns alias of table, if any.
  get_table_alias_escaped ()
  Returns alias of table, if any - but escaped.
  get_table_constraints ()
  Returns array of constraints.
  get_table_driver ()
  Returns DB driver fro this table.
  get_table_field ($column)
  Returns field fpr given column.
  get_table_fields ()
  Returns array of columns.
  get_table_keys ()
  Returns array of keys.
  get_table_name ()
  Returns name of table.
  get_table_name_escaped ()
  Returns name of table, but escaped.
  get_table_relations ()
  Returns array of relations.

Detailed Description

Interface for DB table.

Author:
Gerd Riesselmann

Definition at line 8 of file idbtable.cls.php.


Member Function Documentation

IDBTable::get_matching_relations ( IDBTable other  ) 

Returns relations between two tables.

Parameters:
IDBTable  $other
Returns:
array Array of IDBRelations

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_alias (  ) 

Returns alias of table, if any.

Returns:
string

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_alias_escaped (  ) 

Returns alias of table, if any - but escaped.

Returns:
string

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_constraints (  ) 

Returns array of constraints.

Returns:
array Array with IDBConstraint instance as value

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_driver (  ) 

Returns DB driver fro this table.

Returns:
IDBDriver

Implemented in DataObjectBase, DBTable, DBTableAlias, and DAOSystemupdates.

IDBTable::get_table_field ( column  ) 

Returns field fpr given column.

Parameters:
string  $column Column name
Returns:
IDBField Either field or false if no such field exists

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_fields (  ) 

Returns array of columns.

Returns:
array Associative array with column name as key and IDBField instance as value

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_keys (  ) 

Returns array of keys.

Returns:
array Associative array with column name as key and IDBField instance as value

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_name (  ) 

Returns name of table.

Returns:
string

Implemented in DataObjectBase, DBTable, and DBTableAlias.

IDBTable::get_table_name_escaped (  ) 

Returns name of table, but escaped.

Returns:
string

Implemented in DataObjectBase, DBTable, DBTableAlias, DBTableSubquery, and DAOSystemupdates.

IDBTable::get_table_relations (  ) 

Returns array of relations.

Returns:
array Array with IDBRelation instance as value

Implemented in DataObjectBase, DBTable, and DBTableAlias.


The documentation for this interface was generated from the following file: