Todo List
MessageSource | --MessageSource_MySQL
Retrive the message translation from a MySQL database.
See the MessageSource::factory() method to instantiate this class.
[line 59]
[line 53]
[line 47]
MessageSource_MySQL __construct( string $source)
Create a new message source using MySQL.
void __destruct( )
array catalogues( )
resource connect( )
db connection( )
boolean delete( string $message, [string $catalogue = 'messages'])
array getCatalogueList( string $catalogue)
int getLastModified( string $source)
We need to query the database to get the date_modified.
boolean isValidSource( string $variant)
array &loadData( string $variant)
boolean save( [string $catalogue = 'messages'])
If the translation was not found, you should add those strings to the translation source via the append() method.
boolean update( string $text, string $target, string $comments, [string $catalogue = 'messages'])