aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/libs/sysplugins/smarty_internal_data.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-23 16:57:32 -0700
committerredmatrix <git@macgirvin.com>2016-04-23 16:57:32 -0700
commitce45a1cf945617f3895fb3e40b13e6f705fbc000 (patch)
tree8d407ab11e8c4fdc4560cf67e0fd242f7f1544a0 /library/Smarty/libs/sysplugins/smarty_internal_data.php
parent79c63e3cf44438a7f993b2ea1813b9234ea4d3f3 (diff)
parent9d698c08876169228b09e144f80c5311fcb0fa49 (diff)
downloadvolse-hubzilla-ce45a1cf945617f3895fb3e40b13e6f705fbc000.tar.gz
volse-hubzilla-ce45a1cf945617f3895fb3e40b13e6f705fbc000.tar.bz2
volse-hubzilla-ce45a1cf945617f3895fb3e40b13e6f705fbc000.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_internal_data.php')
-rw-r--r--library/Smarty/libs/sysplugins/smarty_internal_data.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/library/Smarty/libs/sysplugins/smarty_internal_data.php b/library/Smarty/libs/sysplugins/smarty_internal_data.php
index 53f351b41..bba95d303 100644
--- a/library/Smarty/libs/sysplugins/smarty_internal_data.php
+++ b/library/Smarty/libs/sysplugins/smarty_internal_data.php
@@ -188,6 +188,21 @@ class Smarty_Internal_Data
}
/**
+ * gets the object of a Smarty variable
+ *
+ * @param string $variable the name of the Smarty variable
+ * @param Smarty_Internal_Data $_ptr optional pointer to data object
+ * @param boolean $searchParents search also in parent data
+ * @param bool $error_enable
+ *
+ * @return Smarty_Variable|Smarty_Undefined_Variable the object of the variable
+ * @deprecated since 3.1.28 please use Smarty_Internal_Data::getTemplateVars() instead.
+ */
+ public function getVariable($variable = null, Smarty_Internal_Data $_ptr = null, $searchParents = true, $error_enable = true){
+ return $this->ext->getTemplateVars->_getVariable($this, $variable, $_ptr, $searchParents, $error_enable);
+ }
+
+ /**
* Follow the parent chain an merge template and config variables
*
* @param \Smarty_Internal_Data|null $data