public function setDefaultModifiers(Smarty_Internal_TemplateBase $obj, $modifiers)
    {
        $smarty = isset($obj->smarty) ? $obj->smarty : $obj;
        $smarty->default_modifiers = (array) $modifiers;
        return $obj;
    }