function customizeQuitDialog($manialink, $sendToServer = '', $askFavorite = true, $quitButtonDelay = 0, $multicall = false)
    {
        if (!is_string($manialink)) {
            throw new InvalidArgumentException('manialink = ' . print_r($manialink, true));
        }
        if (!is_string($sendToServer)) {
            throw new InvalidArgumentException('sendToServer = ' . print_r($sendToServer, true));
        }
        if (!is_bool($askFavorite)) {
            throw new InvalidArgumentException('askFavorite = ' . print_r($askFavorite, true));
        }
        if (!is_int($quitButtonDelay)) {
            throw new InvalidArgumentException('quitButtonDelay = ' . print_r($quitButtonDelay, true));
        }

        return $this->execute(ucfirst(__FUNCTION__), array($manialink, $sendToServer, $askFavorite, $quitButtonDelay), $multicall);
    }