summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML
diff options
context:
space:
mode:
authorHanne Moa <hanne.moa@uninett.no>2016-03-01 12:58:29 +0100
committerHanne Moa <hanne.moa@uninett.no>2016-03-01 12:58:29 +0100
commitb375c39f00932ea53601ef5d212539b03551535e (patch)
tree25b13fe242d781a5c126bdf8c7b35ac33c308512 /lib/SimpleSAML
parent11cf5e709c91da9834fbd0ef74bf1d3af4bc0df6 (diff)
downloadsimplesamlphp-b375c39f00932ea53601ef5d212539b03551535e.zip
simplesamlphp-b375c39f00932ea53601ef5d212539b03551535e.tar.gz
simplesamlphp-b375c39f00932ea53601ef5d212539b03551535e.tar.bz2
Move method next to its deprecated kin
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r--lib/SimpleSAML/XHTML/Template.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index 31db072..bdb4448 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -203,17 +203,6 @@ class SimpleSAML_XHTML_Template
/**
- * Return the internal translator object used by this template.
- *
- * @return \SimpleSAML\Locale\Translate The translator that will be used with this template.
- */
- public function getTranslator()
- {
- return $this->translator;
- }
-
-
- /**
* Generate an array for its use in the language bar, indexed by the ISO 639-2 codes of the languages available,
* containing their localized names and the URL that should be used in order to change to that language.
*
@@ -386,6 +375,17 @@ class SimpleSAML_XHTML_Template
}
+ /**
+ * Return the internal translator object used by this template.
+ *
+ * @return \SimpleSAML\Locale\Translate The translator that will be used with this template.
+ */
+ public function getTranslator()
+ {
+ return $this->translator;
+ }
+
+
/*
* Deprecated methods of this interface, all of them should go away.
*/