diff options
author | Hanne Moa <hanne.moa@uninett.no> | 2016-03-01 12:58:29 +0100 |
---|---|---|
committer | Hanne Moa <hanne.moa@uninett.no> | 2016-03-01 12:58:29 +0100 |
commit | b375c39f00932ea53601ef5d212539b03551535e (patch) | |
tree | 25b13fe242d781a5c126bdf8c7b35ac33c308512 /lib/SimpleSAML | |
parent | 11cf5e709c91da9834fbd0ef74bf1d3af4bc0df6 (diff) | |
download | simplesamlphp-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.php | 22 |
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. */ |