public function getContextFile($context, $langcode)
    {
        if (empty($context)) {
            return '';
        }

        static $files = array();

        if (!isset($files["$context$langcode"])) {
            $filename = $this->getFilenameFromContext($context);
            $directory = $this->getCompiledDirectory($langcode);
            $files["$context$langcode"] = "$directory/$filename.csv";
        }

        return $files["$context$langcode"];
    }
public function getContextFile($context, $langcode)
    {
        if (empty($context)) {
            return '';
        }

        static $files = array();

        if (!isset($files["$context$langcode"])) {
            $filename = $this->getFilenameFromContext($context);
            $directory = $this->getCompiledDirectory($langcode);
            $files["$context$langcode"] = "$directory/$filename.csv";
        }

        return $files["$context$langcode"];
    }
public function getContextFile ( $ context , $ langcode ) { if ( empty ( $ context ) ) { return '' ; } static $ files = array ( ) ; if ( ! isset ( $ files [ "$context$langcode" ] ) ) { $ filename = $ this -> getFilenameFromContext ( $ context ) ; $ directory = $ this -> getCompiledDirectory ( $ langcode ) ; $ files [ "$context$langcode" ] = "$directory/$filename.csv" ; } return $ files [ "$context$langcode" ] ; }
Returns a context translation file
@param string $context
@param string $langcode
@return string
Returns a context translation file