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

Link to the affected section in the documentation: [http://framework.zend.com/manual/en/…]

Fixed in trunk r23718 merged to branch release 1.11 r23719 - thanks.