How to use smarty object
This article introduces the relevant knowledge of "how to use smarty objects". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Test.tpl file:
Property call: {$dog- > name} method call: {$dog- > sayHello ()}
The output shows:
First dog
Hello
This is the end of the content of "how to use the smarty object". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!