Changeset 4284

Show
Ignore:
Timestamp:
04/21/08 22:46:15 (15 months ago)
Author:
jwage
Message:

Updated documentation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Data/Import.php

    r4283 r4284  
    4848 
    4949    /** 
    50      * constructor 
     50     * Optionally pass the directory/path to the yaml for importing 
    5151     * 
    5252     * @param string $directory  
     
    9999 
    100100    /** 
    101      * doImport 
     101     * Do the importing of the data parsed from the fixtures 
    102102     * 
    103103     * @return void 
     
    110110 
    111111    /** 
    112      * _buildRows 
     112     * Recursively loop over all data fixtures and build the array of className rows 
    113113     * 
    114114     * @return void 
     
    134134 
    135135    /** 
    136      * _buildNestedSetRows 
     136     * Build the rows for nested set models 
    137137     * 
    138138     * @return void 
     
    150150 
    151151    /** 
    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 
    153154     * 
    154155     * @param  string $rowKey 
     
    179180 
    180181    /** 
    181      * _processRow 
     182     * Process a row and make all the appropriate relations between the imported data 
    182183     * 
    183184     * @param string $rowKey  
     
    220221 
    221222    /** 
    222      * _loadData 
     223     * Perform the loading of the data from the passed array 
    223224     * 
    224225     * @param string $array  
     
    289290 
    290291    /** 
    291      * _loadNestedSetData 
     292     * Load nested set data for models with nested set enabled 
    292293     * 
    293294     * @param string $model  
     
    325326 
    326327    /** 
    327      * doImportDummyData 
     328     * Import dummy data in to the loaded models. 
    328329     * 
    329330     * @param string $num  
     
    353354 
    354355    /** 
    355      * populateDummyRecord 
     356     * Populate the passed record with a set of dummy data 
    356357     * 
    357358     * @param Doctrine_Record $record