Computer::getSpecificMassiveActions PHP Method

getSpecificMassiveActions() public method

See also: CommonDBTM::getSpecificMassiveActions()
public getSpecificMassiveActions ( $checkitem = NULL )
    function getSpecificMassiveActions($checkitem = NULL)
    {
        $isadmin = static::canUpdate();
        $actions = parent::getSpecificMassiveActions($checkitem);
        if ($isadmin) {
            $actions['Computer_Item' . MassiveAction::CLASS_ACTION_SEPARATOR . 'add'] = _x('button', 'Connect');
            $actions['Computer_SoftwareVersion' . MassiveAction::CLASS_ACTION_SEPARATOR . 'add'] = _x('button', 'Install');
        }
        if ($isadmin) {
            MassiveAction::getAddTransferList($actions);
        }
        return $actions;
    }