{php} function getMenus($menus, $level = 1, $currentFirstId, $categoryId) { $menuHtml = ''; if (count($menus) > 0) { $menuHtml .= ''; } return $menuHtml; } {/php}
{:getMenus($menus, 1, $currentFirstId, $categoryId)}