3 ms·
I didn't see looping support for templating, like for rendering collection to HTML table. Did I miss something?
by rezaprima 3y ago
I didn't see looping support for templating, like for rendering collection to HTML table. Did I miss something?
- 7ep 3y agoYou did not miss anything. It lacks that functionality, making it necessary to template the inner part, and then use that within an outer part. Fully-featured templating libraries provide this in the form of special syntax. This does not provide that level of capability.
- rezaprima 3y agoI see. So you intend to make templates logic-free. Perhaps you can implement like xtemplate that I used to use last century https://eeperry.wordpress.com/2009/08/08/php-xtemplate-the-basics/ https://eeperry.wordpress.com/2009/08/08/php-xtemplate-the-b...