PEAR is archived and read-only

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

Home » HTML » HTML_Template_Sigma » Bug #2604

looped blocks

Details

Request #2604looped blocks
Submitted2004-10-24 06:07 UTC
Fromdavid dot rech at gmail dot com
StatusBogus
PackageHTML_Template_Sigma
PHP Version4.3.9
Roadmaps(Not assigned)

Comments

[2004-10-24 06:07 UTC] david dot rech at gmail dot com

Description:
------------
Actually I'm missing some looping stuff in Sigma.

I wish I could easily do something like this:

while ($row = someFancyRow())
{
$Sigma->setVariable('someFancyRow', $row);
}

... which at the moment simply parses the block *one* times.

I've taken a short look on the code, I guess it would be somewhat easy to add another level in the content array(s) to make looping that way possible. Isn't it?

Comments appreciated.

[2004-10-24 06:17 UTC] david dot rech at gmail dot com

Memo to me: RTFM!

Sorry, my fault. Works fine now.

[2004-10-24 06:20 UTC] david dot rech at gmail dot com

Should be bogus. *sigh*