20 $base=\rtrim($config[
'siteUrl'],
'/');
24 if (\is_array($urls)) {
26 $parser->parseArray($urls);
27 $this->
loadView($this->seoTemplateFilename, [
"urls" => $parser->getUrls(),
"base" => $base ]);
36 return $seo->getPath();
56 return self::getUrlsFileName($this->urlsKey);
60 return self::SEO_PREFIX.DS.$urlsKey;
static getUrlsFileName($urlsKey)
static noCache()
Forces the disabling of the browser cache.
loadView($viewName, $pData=NULL, $asString=false)
Loads the view $viewName possibly passing the variables $pdata.
Base class for controllers.
_getSeoTemplateFilename()
static asXml($encoding='utf-8')
Sets the response content-type to application/xml.
static asPhpArray($array, $prefix="", $depth=1, $format=false)