    public static function displayName($plural = true, $module = null) {
        $moduleTitle = null;
        if (is_null($module))
            $module = Yii::app()->controller->module->name;

        // return a cached value
        if (isset(self::$_displayNames[$module][$plural]))
            return self::$_displayNames[$module][$plural];

        $moduleTitle = Yii::app()->db->createCommand()
            ->select('title')
            ->from('x2_modules')
            ->where("name = :name")
            ->bindValue(':name', $module)
            ->limit(1)
            ->queryScalar();

        if (!$moduleTitle) return false;

        if (Yii::app()->locale->id === 'en') {
            // Handle silly English pluralization
            if (!$plural) {
                if (preg_match('/ies$/', $moduleTitle)) {
                    $moduleTitle = preg_replace('/ies$/', 'y', $moduleTitle);
                } else if (preg_match('/ses$/', $moduleTitle)) {
                    $moduleTitle = preg_replace('/es$/', '', $moduleTitle);
                } else if ($moduleTitle !== 'Process') {
                    // Otherwise chop the trailing s
                    $moduleTitle = trim($moduleTitle, 's');
                }
            } else {
                if (preg_match('/y$/', $moduleTitle)) {
                    $moduleTitle = preg_replace('/y$/', 'ies', $moduleTitle);
                } else if (preg_match('/ss$/', $moduleTitle)) {
                    $moduleTitle .= 'es';
                } else if (in_array ($moduleTitle, array ('Service'))) {
                    $moduleTitle .= 's';
                }
            }
        }
        self::$_displayNames[$module][$plural] = $moduleTitle;
        return $moduleTitle;
    }
The product receives input or data, but it does
        not validate or incorrectly validates that the input has the
        properties that are required to process the data safely and
        correctly.