showForProfile() static public method

Show the User having a profile, in allowed Entity
static public showForProfile ( Profile $prof )
$prof Profile Profile object
Ejemplo n.º 1
0
                }
        }
    } else {
        switch ($_REQUEST['glpi_tab']) {
            case -1:
                $prof->showFormInventory($_POST['target'], true, false);
                $prof->showFormTracking($_POST['target'], false, false);
                $prof->showFormAdmin($_POST['target'], false, true);
                Profile_User::showForProfile($prof);
                Plugin::displayAction($prof, $_REQUEST['glpi_tab']);
                break;
            case 2:
                $prof->showFormTracking($_POST['target']);
                break;
            case 3:
                $prof->showFormAdmin($_POST['target']);
                break;
            case 4:
                Profile_User::showForProfile($prof);
                break;
            case 12:
                Log::showForItem($prof);
                break;
            default:
                if (!Plugin::displayAction($prof, $_REQUEST['glpi_tab'])) {
                    $prof->showFormInventory($_POST['target']);
                }
        }
    }
}
ajaxFooter();