문제

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