MessageSource_MySQL class.
Retrive the message translation from a MySQL database.
See the MessageSource::factory() method to instantiate this class.
Located in /I18N/core/MessageSource_MySQL.php (line 41)
MessageSource | --MessageSource_MySQL
A resource link to the database
The DSN array property, parsed by PEAR's DB DSN parser.
The datasource string, full DSN to the database.
Inherited from MessageSource
MessageSource::$cache
MessageSource::$culture
MessageSource::$messages
MessageSource::$untranslated
Constructor.
Create a new message source using MySQL.
Destructor, close the database connection.
Returns a list of catalogue as key and all it variants as value.
Connect to the MySQL datasource
Get the database connection.
Delete a particular message from the specified catalogue.
Get all the variants of a particular catalogue.
Get the last modified unix-time for this particular catalogue+variant.
We need to query the database to get the date_modified.
Check if a particular catalogue+variant exists in the database.
Get an array of messages for a particular catalogue and cultural variant.
Save the list of untranslated blocks to the translation source.
If the translation was not found, you should add those strings to the translation source via the append() method.
Update the translation.
Inherited From MessageSource
MessageSource::append()
MessageSource::factory()
MessageSource::getCache()
MessageSource::getCatalogueList()
MessageSource::getCulture()
MessageSource::getLastModified()
MessageSource::getSource()
MessageSource::isValidSource()
MessageSource::load()
MessageSource::loadData()
MessageSource::read()
MessageSource::setCache()
MessageSource::setCulture()
Documentation generated on Sun, 04 Jun 2006 18:58:29 -0400 by phpDocumentor 1.3.0RC4