function get_menu_by_client($cid) { $db_function_obj = new DbFunctions(); $helper_obj = new Helper(); $menu_perants = $db_function_obj->get_menu_parents_by_client($cid); $output = $helper_obj->t("Menu items assigned to this client") . '<br />'; $output .= $this->menu_display($menu_perants, true, "", "onclick='removeMenuItemFromClient(this)'"); return $output; }