]> git.mxchange.org Git - friendica.git/blob - vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_getdefaultmodifiers.php
Merge pull request #4233 from MrPetovan/task/4116-move-smarty-to-composer
[friendica.git] / vendor / smarty / smarty / libs / sysplugins / smarty_internal_method_getdefaultmodifiers.php
1 <?php
2
3 /**
4  * Smarty Method GetDefaultModifiers
5  *
6  * Smarty::getDefaultModifiers() method
7  *
8  * @package    Smarty
9  * @subpackage PluginsInternal
10  * @author     Uwe Tews
11  */
12 class Smarty_Internal_Method_GetDefaultModifiers
13 {
14     /**
15      * Valid for Smarty and template object
16      *
17      * @var int
18      */
19     public $objMap = 3;
20
21     /**
22      * Get default modifiers
23      *
24      * @api Smarty::getDefaultModifiers()
25      *
26      * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
27      *
28      * @return array list of default modifiers
29      */
30     public function getDefaultModifiers(Smarty_Internal_TemplateBase $obj)
31     {
32         $smarty = $obj->_getSmartyObj();
33         return $smarty->default_modifiers;
34     }
35 }