Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $application = new Maf4();
- $application->menu->addChild($i = new Maf4_menuItem(array("label"=>"Foobar 1a")));
- $application->menu->addChild($i = new Maf4_menuItem(array("label"=>"Foobar 1b")));
- $i->addChild(new Maf4_menuItem(array("label"=>"Boofar A", "link"=>"http://www.yahoo.dk")));
- $i->addChild(new Maf4_menuItem(array("label"=>"Boofar B")));
- $application->menu->addChild(array(
- new Maf4_menuItem(array("label"=>"Foobar 2")),
- new Maf4_menuItem(array("label"=>"Foobar 3"))
- ));
- $application->menu->addChild($i = new Maf4_menuItem(array("label"=>"Systemindstillinger","align"=>"right")));
- $i->addChild(new Maf4_menuItem(array("label"=>"Brugerrettigheder", "link"=>"http://www.yahoo.dk")));
- $i->addChild(new Maf4_menuItem(array("label"=>"Logout", "link"=>"http://www.yahoo.dk")));
- $application->menu->addChild($i = new Maf4_menuItem(array("label"=>"System 2","align"=>"right")));
- $i->addChild(new Maf4_menuItem(array("label"=>"Brugerrettigheder", "link"=>"http://www.yahoo.dk")));
- $i->addChild(new Maf4_menuItem(array("label"=>"Logout", "link"=>"http://www.yahoo.dk")));
- $application->render();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement