Skip to content
Snippets Groups Projects
Commit 9796a60f authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Restore previously deleted private methods, they are used from the templates.

parent c39a4718
No related branches found
No related tags found
No related merge requests found
...@@ -220,6 +220,13 @@ class SimpleSAML_XHTML_Template ...@@ -220,6 +220,13 @@ class SimpleSAML_XHTML_Template
\SimpleSAML\Locale\Language::setLanguageCookie($language); \SimpleSAML\Locale\Language::setLanguageCookie($language);
} }
/**
* Wraps Language->getLanguageList
*/
private function getLanguageList() {
return $this->translator->language->getLanguageList();
}
/** /**
* @param $tag * @param $tag
...@@ -245,6 +252,20 @@ class SimpleSAML_XHTML_Template ...@@ -245,6 +252,20 @@ class SimpleSAML_XHTML_Template
} }
/**
* Includes a file relative to the template base directory.
* This function can be used to include headers and footers etc.
*
*/
private function includeAtTemplateBase($file) {
$data = $this->data;
$filename = $this->findTemplatePath($file);
include($filename);
}
/** /**
* Wraps Translate->includeInlineTranslation() * Wraps Translate->includeInlineTranslation()
* *
...@@ -270,6 +291,14 @@ class SimpleSAML_XHTML_Template ...@@ -270,6 +291,14 @@ class SimpleSAML_XHTML_Template
} }
/**
* Wrap Language->isLanguageRTL
*/
private function isLanguageRTL() {
return $this->translator->language->isLanguageRTL();
}
/** /**
* Merge two translation arrays. * Merge two translation arrays.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment