| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 343 lignes (9 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
sfPropelData:: (5 méthodes):
loadData()
loadDataFromArray()
doDeleteCurrentData()
loadMapBuilder()
dumpData()
Classe: sfPropelData - X-Ref
This class is the Propel implementation of sfData. It interacts with the data source| loadData($directory_or_file = null, $connectionName = 'propel') X-Ref |
| Loads data from a file or directory into a Propel data source param: mixed A file or directory path param: string The Propel connection name, default 'propel' |
| loadDataFromArray($data) X-Ref |
| Implements the abstract loadDataFromArray method and loads the data using the generated data model. param: array The data to be loaded into the data source |
| doDeleteCurrentData($fixture_files) X-Ref |
| Clears existing data from the data source by reading the fixture files and deleting the existing data for only those classes that are mentioned in the fixtures. param: array The list of YAML files. |
| loadMapBuilder($class) X-Ref |
| Loads the mappings for the classes param: string The name of a data object |
| dumpData($directory_or_file = null, $tables = 'all', $connectionName = 'propel') X-Ref |
| Dumps data to fixture from 1 or more tables. param: string directory or file to dump to param: mixed name or names of tables to dump param: string connection name |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |