Пример #1
0
 function get_menu_not_assigned_to_client($cid)
 {
     $db_function_obj = new DbFunctions();
     $helper_obj = new Helper();
     //  $menu_perants = $db_function_obj->get_menu_parents_not_assignt_to_client($cid);
     $menu_parants = $db_function_obj->get_menu_parents($cid);
     // pr($menu_parants);
     $output = $helper_obj->t("Menu items not assigned to this client") . '<br />';
     $output .= $this->menu_display($menu_parants, false, '', "onclick='addMenuItemToClient(this)'");
     return $output;
 }