Вопрос

I have implented Smarty in my project, and i need a good workaround to use the function set_value() to repopulate forms.

I could set the values manually by passing the values in my controller.
But thats seems like a hotfix, and I'm looking for something dynamicly.

Any ideas?

Это было полезно?

Решение

Register it as a smarty function. smarty.net/docs/en/api.register.plugin.tpl - #sofl

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top