SchemaTable contains information about one table (its columns).
Located in /schema/SchemaTable.class.php (line 9)
Class | Description |
---|---|
MysqlTable | Implements the interface for Table Driver, which: |
Format of
array( 'local_key' => array('col_name1'[, 'col_name2']*), 'ref_table' => 'ref_table_name', 'ref_database' => 'ref_database_name', // optional, only required if the database that the ref_table is on a different database than the local table 'ref_key' => array('ref_col_name1'[, 'ref_col_name2']*) )
many-to-many relationships (habtm = has and belongs to many)
one-to-many relationships
one-to-one relationships
Returns the existing foreign key (with same local key name) if one exists, otherwise returns null.
Check if the specified foreign key already exists (by comparing it's local key name)
Documentation generated on Wed, 12 Nov 2008 21:56:22 -0600 by phpDocumentor 1.4.0