public static function getMessage($msgId, $params = array())
    {
        $message = constant($msgId);
        if (isset($message)) {
            $message = I18n::t($message, $msgId, 'system');
            $result = vsprintf($message, $params);
        }
        return $result;
    }