/** * Adds the children of the current menu item to this list * * @return \Gems_Menu_MenuList (continuation pattern) */ public function addCurrentChildren() { foreach ($this->menu->getCurrentChildren() as $menuItem) { $this->addMenuItem($menuItem); } return $this; }