Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.13

Doc Bug #12685 User note that is a documentation problem
Submitted: 2007-12-13 20:42 UTC
From: wiesemann Assigned: cweiske
Status: Closed Package: HTML_Template_Flexy
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2007-12-13 20:42 UTC] wiesemann (Mark Wiesemann)
Manual page: package.html.html-template-flexy.tag.foreach.php I think you should add a slightly more advanced example and point out again that when referring to an object's fields or methods you should use . and not ->. I was stuck on this for a long time before finding out that it's explained in a short comment in the sample code on the introduction page. Maybe it could also be put on the {variable} documentation page. For example: {foreach:objects,object}

{object.title}

{object.outputStuff()}
{end:}

Comments

 [2007-12-13 20:43 UTC] wiesemann (Mark Wiesemann)
(requested by: sgronblo (at) gmail (dot) com)
 [2008-11-17 20:33 UTC] cweiske (Christian Weiske)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.