Свойство | Type | Description | |
---|---|---|---|
$dbMap |
Méthode | Description | |
---|---|---|
generate ( array $params = [] ) : string | Generates classes and templates in cache. | |
getColumnNameMaxLength ( ) : integer | Returns the maximum length for a column name. | |
getForeignKeyNames ( ) : array | Returns PHP names for all foreign keys of the current table. | |
getForeignTable ( ColumnMap $column ) : TableMap | Returns the foreign table associated with a column. | |
getI18nModel ( ) : string | Returns the i18n model name for the current table. | |
getManyToManyTables ( ) : array | Returns an array of tables that represents a many to many relationship. | |
getPrimaryKey ( ) : ColumnMap | Returns the first primary key column of the current table. | |
getPrimaryKeyColumNames ( ) : array | Returns an array of primary key column names. | |
getPrimaryKeyColumNamesAsString ( ) : string | Returns a PHP string representation for the array of all primary key column names. | |
getUniqueColumnNames ( ) | ||
getValidatorClassForColumn ( ColumnMap $column ) : string | Returns a sfValidator class name for a given column. | |
getValidatorOptionsForColumn ( ColumnMap $column ) : string | Returns a PHP string representing options to pass to a validator for a given column. | |
getWidgetClassForColumn ( ColumnMap $column ) : string | Returns a sfWidgetForm class name for a given column. | |
getWidgetOptionsForColumn ( ColumnMap $column ) : string | Returns a PHP string representing options to pass to a widget for a given column. | |
initialize ( sfGeneratorManager $generatorManager ) | Initializes the current sfGenerator instance. | |
isI18n ( ) : boolean | Returns true if the current table is internationalized. | |
translateColumnName ( $column, $related = false, $to = BasePeer::TYPE_FIELDNAME ) | ||
underscore ( $name ) |
Méthode | Description | |
---|---|---|
loadBuilders ( ) | Loads all Propel builders. |
public getColumnNameMaxLength ( ) : integer | ||
Résultat | integer | The length of the longer column name |
public getForeignKeyNames ( ) : array | ||
Résultat | array | An array composed of: * The foreign table PHP name * The foreign key PHP name * A Boolean to indicate whether the column is required or not * A Boolean to indicate whether the column is a many to many relationship or not |
public getForeignTable ( ColumnMap $column ) : TableMap | ||
$column | ColumnMap | A ColumnMap object |
Résultat | TableMap | A TableMap object |
public getI18nModel ( ) : string | ||
Résultat | string | The model class name |
public getManyToManyTables ( ) : array | ||
Résultat | array | An array of tables. |
public getPrimaryKey ( ) : ColumnMap | ||
Résultat | ColumnMap | A ColumnMap object |
public getPrimaryKeyColumNames ( ) : array | ||
Résultat | array | An array of primary key column names |
public getPrimaryKeyColumNamesAsString ( ) : string | ||
Résultat | string | A PHP string representation for the array of all primary key column names |
public getValidatorClassForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
Résultat | string | The name of a subclass of sfValidator |
public getValidatorOptionsForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
Résultat | string | The options to pass to the validator as a PHP string |
public getWidgetClassForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
Résultat | string | The name of a subclass of sfWidgetForm |
public getWidgetOptionsForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
Résultat | string | The options to pass to the widget as a PHP string |
public initialize ( sfGeneratorManager $generatorManager ) | ||
$generatorManager | sfGeneratorManager | A sfGeneratorManager instance |
public translateColumnName ( $column, $related = false, $to = BasePeer::TYPE_FIELDNAME ) |