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

TranslationImportXaraya Class Reference

Inheritance diagram for TranslationImportXaraya:

TranslationImport List of all members.

Detailed Description

Imports a Xaraya translation from locale files into the database.

Importing Xaraya works the following way:

Directories will be created as projects without documents, XML files will be stored as projects with document. XML files are parsed for English and Translated strings.

If directory or file project already exist, the timestamp and in the later case the original and skeleton documents are updated. (Name, parentid and localeid identifies the existing projects.) If the timestamp of a project is smaller than the root project's, that project was not found while the last import, thus won't be exported and considered to be dead project file.

If the same project contains the same English original string already, the string entry will be updated. If there is no such string yet in this project, a new string will be created and indexed.

Definition at line 43 of file TranslationImportXaraya.php.

Public Member Functions

 __construct ()
 ProcessDir (RecursiveDirectoryIterator $dirIterator, TranslationProject $parentProject)
 Import ($localeName)

Private Member Functions

 ImportFile ($fullName, TranslationProject $thisProject)

Private Attributes

 $LocaleID


The documentation for this class was generated from the following file:
Generated on Sat Apr 22 16:49:54 2006 for XarayaTranslationMemory by  doxygen 1.4.4