Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

MessageUtil Class Reference

Static Public Member Functions

static getMessages ($language, $moduleName=null, $category=null)
static getLanguagesMessages ($basePath, $moduleName, $language)
static checkLanguagesMessageFilesContainAllTheSameValidMessages ($messagesDirectoryName, $moduleName)
static checkFirstLanguagesMessageFilesMessagesReallyExistInSource ($messagesDirectoryName, $moduleName)
static checkFirstLanguagesMessageFilesContainAllExistingMessages ($messagesDirectoryName, $moduleName, $basePath)
static checkForYiiTCallsThatAreNotHowThisScriptExpectsThemToBe ($messagesDirectoryName, $moduleName)
static findFileNameToCategoryToMessage ($path, $forcedCategory= '', $forTesting=false)
static getSecurableModuleRightsPoliciesAndAuditEventLabels ($moduleClassName)
static getModuleMenuLabelNamesByModuleName ($moduleClassName)
static findFileNameToUnexpectedlyFormattedYiiT ($path)
static convertFileNameToCategoryToMessageToCategoryToMessageToFileName (array $fileNamesToCategoriesToMessages)
static convertFileNameToCategoryToMessageToMessageAndCategories (array $fileNamesToCategoriesToMessages)
static checkLanguagesMessageFilesFormat (array $fileNames, $messagesDirectoryName)
static diffLanguagesMessageFiles (array $fileNames1, array $fileNames2, $messagesDirectoryName, $moduleName)
static getLanguages ($messagesDirectoryName)
static lowercaseCompare ($a, $b)
static compareArrays (array $array1, array $array2)

Data Fields

const GOOD_YII_T = '/\bYii::|Zurmo::t\s*\(\s*[\'"](.*?(?<!\\\\))[\'"]\s*,\s*[\'"](.*?(?<!\\\\))[\'"]\s*[,\)]/s'
const GOOD_YII_T_WITH_LINEBREAK = '/\bYii|Zurmo::t\([\'"](.*?)[\'"], *[\'"](.*?)[\'"]\s[.]/'
const ALL_YII_TS = '/\bYii|Zurmo::t\\([\'"][a-zA-Z]+[\'"], [\'"].*/'

Detailed Description

Helper functionality for aggregating the messages from the framework and all installed modules.

Definition at line 41 of file MessageUtil.php.


Member Function Documentation

static getMessages ( language,
moduleName = null,
category = null 
) [static]

Returns the messages made by aggregating in order the messages found int the framework, then in each of the dependent modules up to then including the module for the currently controller.

Definition at line 55 of file MessageUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:56 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8