I recently learned how to write custom tags, but I am not very familiar with the principles of TP parsing templates and tags. I hope you can give me some advice, the specific parsing process, for example, how $ this-& gt; assign () works, and those classes and methods are called during display. no result is found online for a long time... Template? Tag high-level explanation how the template tag is interpreted
I recently learned how to write custom tags, but I am not very familiar with the principles of TP parsing templates and tags. I hope you can give me some advice on the specific parsing process, for example, how $ this-> assign () works, and those classes and methods are called during display, so no results have been found online for a long time...
Template? Tag
------ Solution --------------------
View the Lib/Core/View. class. php file in ThinkPHP
In fact, you do not need to know more, especially for beginners.
You can use this method.