ZF-11082: Missing Comma, 'Example #6 Iterating a container' not working
Description
Comma terminating second array is missing. Corrected here:
// Example #6 Iterating a container
$container = new Zend_Navigation(array(
array(
'label' => 'Page 1',
'uri' => '#'
),
array(
'label' => 'Page 2',
'uri' => '#',
'pages' => array(
array(
'label' => 'Page 2.1',
'uri' => '#'
),
array(
'label' => 'Page 2.2',
'uri' => '#'
)
)
),
array(
'label' => 'Page 3',
'uri' => '#'
)
));
Comments
Posted by Kai Uwe (kaiuwe) on 2011-02-17T00:03:10.000+0000
Link to the affected section in the documentation: [http://framework.zend.com/manual/en/…]
Posted by Ramon Henrique Ornelas (ramon) on 2011-02-17T20:09:09.000+0000
Fixed in trunk r23718 merged to branch release 1.11 r23719 - thanks.