File |
Role |
Description |
database.php |
Example |
An example script that uses a database connection as a string source. |
DatabaseConnection.class.php |
Class |
Class that extends and implements methods in DatabaseConnectionManager and is used by the database.php example script. |
DatabaseConnectionManager.class.php |
Class |
This is an abstract class that provides the skeleton for the implementation of the class that will provide database connectivity to I18N. |
DatabaseDataSource.class.php |
Class |
Implementation of DataSource, that provides the database based approach to obtain elements. |
DataSource.class.php |
Class |
Abstract class that all data sources should implement. |
Documentation.txt |
Doc. |
Documentation that tells how to install this script, and provides a description of how to use this package. |
Dommer.class.php |
Class |
The XML parser used to parse the configuration file when using text source. It will use the DOM XML package (it is PHP5 compatible), or if it is not available, it will use PEAR's XML_Parser. |
example-data.sql |
Data |
SQL script to insert some example data in the database. |
file.php |
Example |
This class presents an example of using the I18N package with text files as its source of data. |
FileDataSource.class.php |
Class |
Implementation of DataSource, that provides the file based approach to obtain elements. |
i18n-xml.xml |
Data |
The XML configuration file used by the xml.php example script. You need to adjust paths to use it. |
I18N.class.php |
Class |
The main I18N class that handles internationalization and localization. |
i18n.sql |
Data |
SQL script to create tables for using a database as a source for the I18N package. |
i18n.xml |
Data |
The XML configuration file used by the file.php example script. You need to adjust paths to use it. |
language.en.lang |
Data |
Example language file for the file.php example script. |
language.en.lang.xml |
Data |
Example language file for the xml.php example script |
language.en_uk.lang |
Data |
Example language file (localized) for the file.php example script. |
language.en_uk.lang.xml |
Data |
Example language file (localized) for the xml.php example script |
language.es.lang |
Data |
Example language file for the file.php example script. |
language.es.lang.xml |
Data |
Example language file for the xml.php example script |
xml.php |
Example |
This script presents an example of using the I18N package with XML files as its source of data |
XmlDataSource.class.php |
Class |
Implementation of DataSource, that provides the XML file based approach to obtain elements. |