aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/libs/SmartyBC.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/libs/SmartyBC.class.php')
-rw-r--r--vendor/smarty/smarty/libs/SmartyBC.class.php23
1 files changed, 21 insertions, 2 deletions
diff --git a/vendor/smarty/smarty/libs/SmartyBC.class.php b/vendor/smarty/smarty/libs/SmartyBC.class.php
index 3955e4f24..f2230fc9c 100644
--- a/vendor/smarty/smarty/libs/SmartyBC.class.php
+++ b/vendor/smarty/smarty/libs/SmartyBC.class.php
@@ -100,6 +100,8 @@ class SmartyBC extends Smarty
* @param string $function_impl the name of the PHP function to register
* @param bool $cacheable
* @param mixed $cache_attrs
+ *
+ * @throws \SmartyException
*/
public function register_function($function, $function_impl, $cacheable = true, $cache_attrs = null)
{
@@ -153,6 +155,8 @@ class SmartyBC extends Smarty
* @param string $block_impl PHP function to register
* @param bool $cacheable
* @param mixed $cache_attrs
+ *
+ * @throws \SmartyException
*/
public function register_block($block, $block_impl, $cacheable = true, $cache_attrs = null)
{
@@ -175,6 +179,8 @@ class SmartyBC extends Smarty
* @param string $function name of template function
* @param string $function_impl name of PHP function to register
* @param bool $cacheable
+ *
+ * @throws \SmartyException
*/
public function register_compiler_function($function, $function_impl, $cacheable = true)
{
@@ -196,6 +202,8 @@ class SmartyBC extends Smarty
*
* @param string $modifier name of template modifier
* @param string $modifier_impl name of PHP function to register
+ *
+ * @throws \SmartyException
*/
public function register_modifier($modifier, $modifier_impl)
{
@@ -238,6 +246,8 @@ class SmartyBC extends Smarty
* to a template before compiling
*
* @param callable $function
+ *
+ * @throws \SmartyException
*/
public function register_prefilter($function)
{
@@ -259,6 +269,8 @@ class SmartyBC extends Smarty
* to a compiled template after compilation
*
* @param callable $function
+ *
+ * @throws \SmartyException
*/
public function register_postfilter($function)
{
@@ -280,6 +292,8 @@ class SmartyBC extends Smarty
* to a template output
*
* @param callable $function
+ *
+ * @throws \SmartyException
*/
public function register_outputfilter($function)
{
@@ -301,6 +315,8 @@ class SmartyBC extends Smarty
*
* @param string $type filter type
* @param string $name filter name
+ *
+ * @throws \SmartyException
*/
public function load_filter($type, $name)
{
@@ -341,7 +357,9 @@ class SmartyBC extends Smarty
* @param string $cache_id
* @param string $compile_id
*
- * @return boolean
+ * @return bool
+ * @throws \Exception
+ * @throws \SmartyException
*/
public function is_cached($tpl_file, $cache_id = null, $compile_id = null)
{
@@ -377,7 +395,8 @@ class SmartyBC extends Smarty
*
* @param string $tpl_file
*
- * @return boolean
+ * @return bool
+ * @throws \SmartyException
*/
public function template_exists($tpl_file)
{