PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Template_Flexy » Bug #1138

Request flexy:while attribute

Details

Request #1138Request flexy:while attribute
Submitted2004-04-05 15:45 UTC
Fromahundiak at ingr dot com
StatusVerified
PackageHTML_Template_Flexy
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-04-05 15:45 UTC] ahundiak at ingr dot com

Description:
------------
Something like this:
<tr flexy:while="item=items.next()" >
Should emit:
while($item = $items.next()) {

This feature will allow building tabular records on the fly as the template is being processed.

[2004-04-05 15:57 UTC] ahundiak at ingr dot com

Oops, I forgot to set the category. Oh well, flame on.

[2004-08-11 15:25 UTC] nic-nospam at nicshouse dot co dot uk

Just adding my support for this request - would be very usefule for database driven pages.

[2004-08-11 20:55 UTC] Night_Wulfe at hotmail dot com

I would also like to see this implemented, for the same reason posted above. It would make database driven pages much more efficient since the recordset would no longer need to be an array for flexy:foreach.