Пример #1
0
   protected function getUrl(dmPage $page, $culture)
   {
       return sprintf('  <url>
   <loc>
     %s
   </loc>
 </url>', $this->getOption('domain') . '/' . (sfConfig::get('dm_i18n_prefix_url', false) ? $culture . '/' : '') . $page->get('Translation')->get($culture)->get('slug'));
   }
Пример #2
0
   protected function getUrl(dmPage $page, $culture)
   {
       return sprintf('  <url>
   <loc>
     %s
   </loc>
 </url>', $this->getOption('domain') . '/' . $page->get('Translation')->get($culture)->get('slug'));
   }