| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 276 lignes (7 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Index:: (20 méthodes):
__construct()
createName()
setupObject()
getIsUnique()
isUnique()
getIndexName()
getName()
setIndexName()
setName()
setTable()
getTable()
getTableName()
addColumn()
hasColumnSize()
getColumnSize()
getIndexColumnList()
getColumnList()
getIndexColumns()
getColumns()
toString()
| __construct(Table $table, $indexColumns = array() X-Ref |
| Creates a new instance with default characteristics (no name or parent table, small column list size allocation, non-unique). param: Table $table param: array $indexColumns |
| createName() X-Ref |
| Pas de description |
| setupObject() X-Ref |
| Sets up the Index object based on the attributes that were passed to loadFromXML(). |
| getIsUnique() X-Ref |
| isUnique() X-Ref |
| Returns the uniqueness of this index. |
| getIndexName() X-Ref |
| getName() X-Ref |
| Gets the name of this index. |
| setIndexName($name) X-Ref |
| setName($name) X-Ref |
| Set the name of this index. |
| setTable(Table $parent) X-Ref |
| Set the parent Table of the index |
| getTable() X-Ref |
| Get the parent Table of the index |
| getTableName() X-Ref |
| Returns the Name of the table the index is in |
| addColumn($attrib) X-Ref |
| Adds a new column to an index. param: array $attrib The attribute array from XML parser. |
| hasColumnSize($name) X-Ref |
| Whether there is a size for the specified column. param: string $name return: boolean |
| getColumnSize($name) X-Ref |
| Returns the size for the specified column, if given. param: string $name return: numeric The size or NULL |
| getIndexColumnList() X-Ref |
| getColumnList() X-Ref |
| Return a comma delimited string of the columns which compose this index. |
| getIndexColumns() X-Ref |
| getColumns() X-Ref |
| Return the list of local columns. You should not edit this list. return: array string[] |
| toString() X-Ref |
| String representation of the index. This is an xml representation. |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |