flexy:foreach="variable,key,value"

flexy:foreach="variable,key,value"

flexy:foreach="variable,key,value" -- creates a PHP foreach loop using a html attribute

Description

creates a foreach loop, around the tag and close tag.

Parameter

  • string variable - relates to $object->variable

  • string key - creates a variable 'key' in the current scope.

  • string value - optionally creates a variable 'value' in the current scope. (as in $key=>$value)

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.