Search found 2 matches
- Mon Jun 05, 2017 3:34 pm
- Forum: PHP
- Topic: Multidimensional Array
- Replies: 1
- Views: 2447
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?
- Mon Jun 05, 2017 12:28 am
- Forum: Zend Framework
- Topic: Dynamic breadcrumb
- Replies: 0
- Views: 2165
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...