Group_User::getRelationMassiveActionsSpecificities PHP Метод

getRelationMassiveActionsSpecificities() статический публичный Метод

См. также: CommonDBRelation::getRelationMassiveActionsSpecificities()
    static function getRelationMassiveActionsSpecificities()
    {
        global $CFG_GLPI;
        $specificities = parent::getRelationMassiveActionsSpecificities();
        $specificities['select_items_options_1'] = array('right' => 'all');
        $specificities['select_items_options_2'] = array('condition' => '`is_usergroup`');
        // Define normalized action for add_item and remove_item
        $specificities['normalized']['add'][] = 'add_supervisor';
        $specificities['normalized']['add'][] = 'add_delegatee';
        $specificities['button_labels']['add_supervisor'] = $specificities['button_labels']['add'];
        $specificities['button_labels']['add_delegatee'] = $specificities['button_labels']['add'];
        $specificities['update_if_different'] = true;
        return $specificities;
    }