oliver139 Posted January 13, 2022 Share Posted January 13, 2022 Both are ofter found in different modules and both can render view. The only difference I know is that fetch() is not available in 1.6, but what else? Link to comment Share on other sites More sharing options...
JBW Posted January 13, 2022 Share Posted January 13, 2022 According to docs, display is direct output while fetch gives you the result and can be displayed by echo or send by mail etc. https://www.smarty.net/docsv2/en/api.fetch.tpl 1 Link to comment Share on other sites More sharing options...
oliver139 Posted January 17, 2022 Author Share Posted January 17, 2022 On 1/13/2022 at 7:59 PM, JBW said: According to docs, display is direct output while fetch gives you the result and can be displayed by echo or send by mail etc. https://www.smarty.net/docsv2/en/api.fetch.tpl Oh..they are both from Smarty. Thanks for the info and will read it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now