| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 344 lignes (9 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
ColumnMap:: (26 méthodes):
__construct()
getColumnName()
setPhpName()
getPhpName()
getFullyQualifiedName()
getTable()
getTableName()
setType()
setCreoleType()
setSize()
setPrimaryKey()
setNotNull()
getDefaultValue()
setForeignKey()
addValidator()
hasValidators()
getValidators()
getType()
getCreoleType()
getSize()
isPrimaryKey()
isNotNull()
isForeignKey()
getRelatedName()
getRelatedTableName()
getRelatedColumnName()
| __construct($name, TableMap $containingTable) X-Ref |
| Constructor. param: string $name The name of the column. param: TableMap containingTable TableMap of the table this column is in. |
| getColumnName() X-Ref |
| Get the name of a column. return: string A String with the column name. |
| setPhpName($phpName) X-Ref |
| Set the php anme of this column. param: string $phpName A string representing the PHP name. return: void |
| getPhpName() X-Ref |
| Get the name of a column. return: string A String with the column name. |
| getFullyQualifiedName() X-Ref |
| Get the table name + column name. return: string A String with the full column name. |
| getTable() X-Ref |
| Get the table map this column belongs to. return: TableMap |
| getTableName() X-Ref |
| Get the name of the table this column is in. return: string A String with the table name. |
| setType($type) X-Ref |
| Set the type of this column. param: string $type A string representing the PHP native type. return: void |
| setCreoleType($type) X-Ref |
| Set the Creole type of this column. param: int $type An int representing Creole type for this column. return: void |
| setSize($size) X-Ref |
| Set the size of this column. param: int $size An int specifying the size. return: void |
| setPrimaryKey($pk) X-Ref |
| Set if this column is a primary key or not. param: boolean $pk True if column is a primary key. return: void |
| setNotNull($nn) X-Ref |
| Set if this column may be null. param: boolean nn True if column may be null. return: void |
| getDefaultValue() X-Ref |
| Gets the default value for this column. return: mixed String or NULL |
| setForeignKey($tableName, $columnName) X-Ref |
| Set the foreign key for this column. param: string tableName The name of the table that is foreign. param: string columnName The name of the column that is foreign. return: void |
| addValidator($validator) X-Ref |
| Pas de description |
| hasValidators() X-Ref |
| Pas de description |
| getValidators() X-Ref |
| Pas de description |
| getType() X-Ref |
| Get the native PHP type of this column. return: string A string specifying the native PHP type. |
| getCreoleType() X-Ref |
| Get the Creole type of this column. return: string A string specifying the native PHP type. |
| getSize() X-Ref |
| Get the size of this column. return: int An int specifying the size. |
| isPrimaryKey() X-Ref |
| Is this column a primary key? return: boolean True if column is a primary key. |
| isNotNull() X-Ref |
| Is null value allowed ? return: boolean True if column may be null. |
| isForeignKey() X-Ref |
| Is this column a foreign key? return: boolean True if column is a foreign key. |
| getRelatedName() X-Ref |
| Get the table.column that this column is related to. return: string A String with the full name for the related column. |
| getRelatedTableName() X-Ref |
| Get the table name that this column is related to. return: string A String with the name for the related table. |
| getRelatedColumnName() X-Ref |
| Get the column name that this column is related to. return: string A String with the name for the related column. |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |