Search found 2 matches

by alla8559
Mon Jun 05, 2017 3:34 pm
Forum: PHP
Topic: Multidimensional Array
Replies: 1
Views: 2108

Multidimensional Array

I received this array array(teste,teste2,teste3, teste4) (or more) and i need transform in this multidmensional array: array( 'name' => teste, 'child' => array( 'name' => 'teste2', 'child' => array( 'name' => 'teste3', 'child' => array( 'name' => 'teste4' ) ) ) ) How i do this?
by alla8559
Mon Jun 05, 2017 12:28 am
Forum: Zend Framework
Topic: Dynamic breadcrumb
Replies: 0
Views: 1823

Dynamic breadcrumb

I want make dynamic breadcrumb, example: in url: /category/subcategory/year/month/content.htm /hero/dc/2016/12/films.html in my breadcrumb: Home > DC > 2016 > December > Release films How i do this? My route code: 'content' => [ 'type' => Segment::class, 'options' => [ 'route' => '[/:category[/:subc...