-
(array) catalogues ()
Returns a list of catalogue and its culture ID.
E.g. array('messages', 'en_AU')
returns list of catalogues
-
(array) getCatalogueByDir ($catalogue)
$catalogue |
a particular catalogue. |
Traverses through the directory structure to find the catalogues.
This should only be called by getCatalogueList()
returns a list of catalogues.
-
(array) getCatalogueList ($catalogue)
$catalogue |
catalogue name |
Gets all the variants of a particular catalogue.
returns list of all variants for this catalogue.
-
(array) getCatalogues ()
Returns a list of catalogue and its culture ID. This takes care
of directory structures.
E.g. array('messages', 'en_AU')
returns list of catalogues
-
getId ()
-
(int) getLastModified ($source)
$source |
catalogue+variant |
Gets the last modified unix-time for this particular catalogue+variant.
Just use the file modified time.
returns last modified in unix-time format.
-
(string) getSource ($variant)
$variant |
message catalogue |
Gets the message file for a specific message catalogue and cultural variant.
returns full path to the message file.
-
(boolean) isValidSource ($source)
Determines if the message file source is valid.
returns true if valid, false otherwise.
-
__construct ($source)
$source |
the directory where the messages are stored. |
Constructor.