Skip to main content
4 events
when toggle format what by license comment
Nov 5, 2016 at 11:41 comment added pong Yup, this looks kinda ugly - each to their own :)
Nov 5, 2016 at 11:29 comment added Dom Thanks. It was the nested foreach loops in the renderer which confused me. It seems odd to me to use loops to extract something which you know is going to be a single value. I guess you could achieve the same result with PHP reset function and an if block. You could make the case that the foreach syntax is more elegant, but I think it makes less readable code.
Nov 5, 2016 at 11:25 vote accept Dom
Nov 5, 2016 at 0:25 history answered pong CC BY-SA 3.0