Script for processing message changes in file based message groups. More...
Public Member Functions | |
__construct () | |
Protected Member Functions | |
writeChanges () | |
processMessageGroup (FileBasedMessageGroup $group) | |
processLanguage (FileBasedMessageGroup $group, $code) | |
addMessageUpdateChanges (FileBasedMessageGroup $group, $code, $reason, $cache) | |
This is the detective roman. | |
addChange ($type, $group, $language, $key, $content) | |
Static Protected Member Functions | |
static | compareContent ($a, $b) |
Compares two strings. | |
Protected Attributes | |
$changes = array() | |
$counter |
Script for processing message changes in file based message groups.
We used to process changes during web request, but that was too slow. With this command line script we can do all the work needed even if it takes some time.
Definition at line 30 of file processMessageChanges.php.
ProcessMessageChanges::__construct | ( | ) |
Definition at line 38 of file processMessageChanges.php.
ProcessMessageChanges::addChange | ( | $ | type, | |
$ | group, | |||
$ | language, | |||
$ | key, | |||
$ | content | |||
) | [protected] |
Definition at line 274 of file processMessageChanges.php.
Referenced by addMessageUpdateChanges().
ProcessMessageChanges::addMessageUpdateChanges | ( | FileBasedMessageGroup $ | group, | |
$ | code, | |||
$ | reason, | |||
$ | cache | |||
) | [protected] |
This is the detective roman.
We have three sources of information:
Definition at line 180 of file processMessageChanges.php.
Referenced by processLanguage().
static ProcessMessageChanges::compareContent | ( | $ | a, | |
$ | b | |||
) | [static, protected] |
Compares two strings.
string | $a | |
string | $b |
Definition at line 289 of file processMessageChanges.php.
ProcessMessageChanges::processLanguage | ( | FileBasedMessageGroup $ | group, | |
$ | code | |||
) | [protected] |
Definition at line 147 of file processMessageChanges.php.
Referenced by processMessageGroup().
ProcessMessageChanges::processMessageGroup | ( | FileBasedMessageGroup $ | group | ) | [protected] |
ProcessMessageChanges::writeChanges | ( | ) | [protected] |
ProcessMessageChanges::$changes = array() [protected] |
Definition at line 31 of file processMessageChanges.php.
ProcessMessageChanges::$counter [protected] |
Definition at line 36 of file processMessageChanges.php.