Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TranslationImportXaraya::ProcessDir RecursiveDirectoryIterator $  dirIterator,
TranslationProject parentProject
 

Recursively process a complete dir and call ImportFile() for each XML file.

The root project must be created before this function is called, so it can have a nicer name than "xml" or whatever the first dir would be. Pass the root project's (usually called "Xaraya") ID to this function.

Parameters:
$dirIterator A directory iterator initialized with the start dir, usually your Xaraya locale's dir.
$parentProject The parent project, in which this new subprojects will be created.

Definition at line 131 of file TranslationImportXaraya.php.

References TranslationProject::GetID(), and ImportFile().

Referenced by Import().


Generated on Sat Apr 22 16:49:54 2006 for XarayaTranslationMemory by  doxygen 1.4.4