protected function renderMenuItems(&$menuItemArray)
    {
        $sHTML = "";
        if (isset($menuItemArray["ATTRIBUTES"])) {
            $sHTML .= $this->renderSingleMenuItem($menuItemArray);
        } else {
            foreach ($menuItemArray as $menuItem) {
                $sHTML .= $this->renderSingleMenuItem($menuItem);
            }
        }
        return $sHTML;
    }