protected function getValue($string, $domain, $locale)
    {
        if (!$domain) {
            $domain = 'default';
        }

        if (!$locale) {
            $locale = 'default';
        }

        if (!isset($this->values[$locale][$domain][$string])) {
            return $string;
        }

        return $this->values[$locale][$domain][$string];
    }
protected function getValue($string, $domain, $locale)
    {
        if (!$domain) {
            $domain = 'default';
        }

        if (!$locale) {
            $locale = 'default';
        }

        if (!isset($this->values[$locale][$domain][$string])) {
            return $string;
        }

        return $this->values[$locale][$domain][$string];
    }
protected function getValue ( $ string , $ domain , $ locale ) { if ( ! $ domain ) { $ domain = 'default' ; } if ( ! $ locale ) { $ locale = 'default' ; } if ( ! isset ( $ this -> values [ $ locale ] [ $ domain ] [ $ string ] ) ) { return $ string ; } return $ this -> values [ $ locale ] [ $ domain ] [ $ string ] ; }
Retrieve the value.

@param string $string The string to translate.

@param string $domain The domain to use.

@param string $locale The locale (otherwise the current default locale will get used).

@return mixed
Retrieve the value .