You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smarty_internal_method_getdefaultmodifiers.php 764B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Smarty Method GetDefaultModifiers
  4. *
  5. * Smarty::getDefaultModifiers() method
  6. *
  7. * @package Smarty
  8. * @subpackage PluginsInternal
  9. * @author Uwe Tews
  10. */
  11. class Smarty_Internal_Method_GetDefaultModifiers
  12. {
  13. /**
  14. * Valid for Smarty and template object
  15. *
  16. * @var int
  17. */
  18. public $objMap = 3;
  19. /**
  20. * Get default modifiers
  21. *
  22. * @api Smarty::getDefaultModifiers()
  23. *
  24. * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
  25. *
  26. * @return array list of default modifiers
  27. */
  28. public function getDefaultModifiers(Smarty_Internal_TemplateBase $obj)
  29. {
  30. $smarty = isset($obj->smarty) ? $obj->smarty : $obj;
  31. return $smarty->default_modifiers;
  32. }
  33. }