protected function getCatalogContent($locale, $domain) {
		$path = $this->getCatalogPath($locale, $domain);
		
		if (! is_file($path)) {
			return false;
		}
		
		if (! is_readable($path)) {
			throw new ReadError('Catalog file: "' . $path . '" exists but can\'t be read');
		}
		
		$result = file_get_contents($path);
		
		if ($result === false) {
			throw new ReadError('Error has occurred while reading the file: "' . $path . '"');
		}
		
		$this->lastFilePath = $path;
		
		return $result;
	}
protected function getCatalogContent($locale, $domain) {
		$path = $this->getCatalogPath($locale, $domain);
		
		if (! is_file($path)) {
			return false;
		}
		
		if (! is_readable($path)) {
			throw new ReadError('Catalog file: "' . $path . '" exists but can\'t be read');
		}
		
		$result = file_get_contents($path);
		
		if ($result === false) {
			throw new ReadError('Error has occurred while reading the file: "' . $path . '"');
		}
		
		$this->lastFilePath = $path;
		
		return $result;
	}
protected function getCatalogContent ( $ locale , $ domain ) { $ path = $ this -> getCatalogPath ( $ locale , $ domain ) ; if ( ! is_file ( $ path ) ) { return false ; } if ( ! is_readable ( $ path ) ) { throw new ReadError ( 'Catalog file: "' . $ path . '" exists but can\'t be read' ) ; } $ result = file_get_contents ( $ path ) ; if ( $ result === false ) { throw new ReadError ( 'Error has occurred while reading the file: "' . $ path . '"' ) ; } $ this -> lastFilePath = $ path ; return $ result ; }
Get the catalog content

@param  string $locale
@param  string $domain

@return string | bool
@throws ReadError
@throws NoPath
Get the catalog content