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(). |