private function FileDumper::getRelativePath in Plug 7
Gets the relative file path using the template.
Parameters
string $domain The domain:
string $locale The locale:
Return value
string The relative file path
1 call to FileDumper::getRelativePath()
- FileDumper::dump in lib/
Symfony/ translation/ Dumper/ FileDumper.php - Dumps the message catalogue.
File
- lib/
Symfony/ translation/ Dumper/ FileDumper.php, line 130
Class
- FileDumper
- FileDumper is an implementation of DumperInterface that dump a message catalogue to file(s). Performs backup of already existing files.
Namespace
Symfony\Component\Translation\DumperCode
private function getRelativePath($domain, $locale) {
return strtr($this->relativePathTemplate, array(
'%domain%' => $domain,
'%locale%' => $locale,
'%extension%' => $this
->getExtension(),
));
}