summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/XHTML/Template.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SimpleSAML/XHTML/Template.php')
-rw-r--r--lib/SimpleSAML/XHTML/Template.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index b2fa780..af97162 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -567,6 +567,18 @@ class SimpleSAML_XHTML_Template
/**
+ * Wrap Language->noop to mark a tag for translation but actually do it later.
+ *
+ * @see \SimpleSAML\Locale\Translate::noop()
+ * @deprecated This method will be removed in SSP 2.0. Please use \SimpleSAML\Locale\Translate::t() instead.
+ */
+ public function noop($tag)
+ {
+ return $this->translator->noop($tag);
+ }
+
+
+ /**
* Wrap Language->t to translate tag into the current language, with a fallback to english.
*
* @see \SimpleSAML\Locale\Translate::t()