Simple Bootstrap Menu



( ! ) Warning: Undefined variable $attribs in /var/www/html/php7cookbook/source/Application/Web/Menu/Factory.php on line 105
Call Stack
#TimeMemoryFunctionLocation
10.0001358216{main}( ).../chap_06_menu_builder.php:0
20.0001359336include( '/var/www/html/php7cookbook/source/chapter06/chap_06_menu_builder_1.php ).../chap_06_menu_builder.php:64
30.0002361056Application\Web\Menu\Factory->render( ).../chap_06_menu_builder_1.php:28
40.0002361056Application\Web\Menu\Factory->renderList( $list = ['home' => ['label' => 'Home', 'url' => '/', 'dropDown' => [...]], 'products' => ['label' => 'Products', 'url' => '/products', 'dropDown' => [...]], 'services' => ['label' => 'Services', 'url' => '/services', 'li' => [...]], 'pricing' => ['label' => 'Pricing', 'url' => '/pricing', 'li' => [...]], 'contact' => ['label' => 'Contact Us', 'url' => '/contact', 'dropDown' => [...]]] ).../Factory.php:50
50.0002361568Application\Web\Menu\Factory->renderItem( $item = ['label' => 'Services', 'url' => '/services', 'li' => ['style' => 'list-style-type: none;']] ).../Factory.php:65
60.0002361568Application\Web\Menu\Factory->getAttribs( $config = ['style' => 'list-style-type: none;'] ).../Factory.php:75

( ! ) Warning: Undefined variable $attribs in /var/www/html/php7cookbook/source/Application/Web/Menu/Factory.php on line 105
Call Stack
#TimeMemoryFunctionLocation
10.0001358216{main}( ).../chap_06_menu_builder.php:0
20.0001359336include( '/var/www/html/php7cookbook/source/chapter06/chap_06_menu_builder_1.php ).../chap_06_menu_builder.php:64
30.0002361056Application\Web\Menu\Factory->render( ).../chap_06_menu_builder_1.php:28
40.0002361056Application\Web\Menu\Factory->renderList( $list = ['home' => ['label' => 'Home', 'url' => '/', 'dropDown' => [...]], 'products' => ['label' => 'Products', 'url' => '/products', 'dropDown' => [...]], 'services' => ['label' => 'Services', 'url' => '/services', 'li' => [...]], 'pricing' => ['label' => 'Pricing', 'url' => '/pricing', 'li' => [...]], 'contact' => ['label' => 'Contact Us', 'url' => '/contact', 'dropDown' => [...]]] ).../Factory.php:50
50.0004361864Application\Web\Menu\Factory->renderItem( $item = ['label' => 'Pricing', 'url' => '/pricing', 'li' => ['style' => 'list-style-type: none;']] ).../Factory.php:65
60.0004361864Application\Web\Menu\Factory->getAttribs( $config = ['style' => 'list-style-type: none;'] ).../Factory.php:75

( ! ) Warning: Undefined variable $attribs in /var/www/html/php7cookbook/source/Application/Web/Menu/Factory.php on line 105
Call Stack
#TimeMemoryFunctionLocation
10.0001358216{main}( ).../chap_06_menu_builder.php:0
20.0001359336include( '/var/www/html/php7cookbook/source/chapter06/chap_06_menu_builder_1.php ).../chap_06_menu_builder.php:64
30.0002361056Application\Web\Menu\Factory->render( ).../chap_06_menu_builder_1.php:28
40.0002361056Application\Web\Menu\Factory->renderList( $list = ['home' => ['label' => 'Home', 'url' => '/', 'dropDown' => [...]], 'products' => ['label' => 'Products', 'url' => '/products', 'dropDown' => [...]], 'services' => ['label' => 'Services', 'url' => '/services', 'li' => [...]], 'pricing' => ['label' => 'Pricing', 'url' => '/pricing', 'li' => [...]], 'contact' => ['label' => 'Contact Us', 'url' => '/contact', 'dropDown' => [...]]] ).../Factory.php:50
50.0005362120Application\Web\Menu\Factory->renderList( $list = ['americas' => ['label' => 'Americas', 'url' => '/america'], 'europe' => ['label' => 'Europe', 'url' => '/europe'], 'asia' => ['label' => 'Asia', 'url' => '/asia'], 'blank1' => ['label' => '', 'url' => '#', 'li' => [...]], 'other' => ['label' => 'Other', 'url' => '/other']] ).../Factory.php:67
60.0005362248Application\Web\Menu\Factory->renderItem( $item = ['label' => '', 'url' => '#', 'li' => ['class' => 'divider']] ).../Factory.php:65
70.0005362248Application\Web\Menu\Factory->getAttribs( $config = ['class' => 'divider'] ).../Factory.php:75