[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 279 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
ForeignKey:: (23 méthodes):
setupObject()
normalizeFKey()
hasOnUpdate()
hasOnDelete()
getOnUpdate()
getOnDelete()
setOnDelete()
setOnUpdate()
getName()
setName()
getForeignTableName()
setForeignTableName()
setTable()
getTable()
getTableName()
addReference()
getLocalColumnNames()
getForeignColumnNames()
getLocalColumns()
getLocalForeignMapping()
getForeignColumns()
getForeignLocalMapping()
toString()
Classe: ForeignKey - X-Ref
A Class for information about foreign keys of a table.setupObject() X-Ref |
Sets up the ForeignKey object based on the attributes that were passed to loadFromXML(). |
normalizeFKey($attrib) X-Ref |
normalizes the input of onDelete, onUpdate attributes |
hasOnUpdate() X-Ref |
returns whether or not the onUpdate attribute is set |
hasOnDelete() X-Ref |
returns whether or not the onDelete attribute is set |
getOnUpdate() X-Ref |
returns the onUpdate attribute |
getOnDelete() X-Ref |
returns the onDelete attribute |
setOnDelete($value) X-Ref |
sets the onDelete attribute |
setOnUpdate($value) X-Ref |
sets the onUpdate attribute |
getName() X-Ref |
Returns the name attribute. |
setName($name) X-Ref |
Sets the name attribute. |
getForeignTableName() X-Ref |
Get the foreignTableName of the FK |
setForeignTableName($tableName) X-Ref |
Set the foreignTableName of the FK |
setTable(Table $parent) X-Ref |
Set the parent Table of the foreign key |
getTable() X-Ref |
Get the parent Table of the foreign key |
getTableName() X-Ref |
Returns the Name of the table the foreign key is in |
addReference($p1, $p2 = null) X-Ref |
adds a new reference entry to the foreign key |
getLocalColumnNames() X-Ref |
Return a comma delimited string of local column names |
getForeignColumnNames() X-Ref |
Return a comma delimited string of foreign column names |
getLocalColumns() X-Ref |
Return an array of local column names. return: array string[] |
getLocalForeignMapping() X-Ref |
Utility method to get local column to foreign column mapping for this foreign key. |
getForeignColumns() X-Ref |
Return an array of foreign column names. return: array string[] |
getForeignLocalMapping() X-Ref |
Utility method to get local column to foreign column mapping for this foreign key. |
toString() X-Ref |
String representation of the foreign key. This is an xml representation. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |