Changeset 4284
- Timestamp:
- 04/21/08 22:46:15 (15 months ago)
- Files:
-
- 1 modified
-
branches/0.11/lib/Doctrine/Data/Import.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Data/Import.php
r4283 r4284 48 48 49 49 /** 50 * constructor50 * Optionally pass the directory/path to the yaml for importing 51 51 * 52 52 * @param string $directory … … 99 99 100 100 /** 101 * doImport101 * Do the importing of the data parsed from the fixtures 102 102 * 103 103 * @return void … … 110 110 111 111 /** 112 * _buildRows112 * Recursively loop over all data fixtures and build the array of className rows 113 113 * 114 114 * @return void … … 134 134 135 135 /** 136 * _buildNestedSetRows136 * Build the rows for nested set models 137 137 * 138 138 * @return void … … 150 150 151 151 /** 152 * _getImportedObject 152 * Get the unsaved object for a specified row key and validate that it is the valid object class 153 * for the passed record and relation name 153 154 * 154 155 * @param string $rowKey … … 179 180 180 181 /** 181 * _processRow182 * Process a row and make all the appropriate relations between the imported data 182 183 * 183 184 * @param string $rowKey … … 220 221 221 222 /** 222 * _loadData223 * Perform the loading of the data from the passed array 223 224 * 224 225 * @param string $array … … 289 290 290 291 /** 291 * _loadNestedSetData292 * Load nested set data for models with nested set enabled 292 293 * 293 294 * @param string $model … … 325 326 326 327 /** 327 * doImportDummyData328 * Import dummy data in to the loaded models. 328 329 * 329 330 * @param string $num … … 353 354 354 355 /** 355 * populateDummyRecord356 * Populate the passed record with a set of dummy data 356 357 * 357 358 * @param Doctrine_Record $record