Changeset View
Changeset View
Standalone View
Standalone View
lib/ext/Syncroton/Command/ItemOperations.php
Show First 20 Lines • Show All 245 Lines • ▼ Show 20 Lines | protected function _handleFetch(SimpleXMLElement $fetch) | ||||
} | } | ||||
// optional | // optional | ||||
if (isset($bodyPreference->AllOrNone)) { | if (isset($bodyPreference->AllOrNone)) { | ||||
$fetchArray['options']['bodyPreferences'][$type]['allOrNone'] = (int) $bodyPreference->AllOrNone; | $fetchArray['options']['bodyPreferences'][$type]['allOrNone'] = (int) $bodyPreference->AllOrNone; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
if(isset($fetch->Options->MIMESupport)){ | |||||
$fetchArray['options']['mimeSupport']=(int)$fetch->Options->MIMESupport; | |||||
} | |||||
if (isset($airSyncBase->Range)) { | if (isset($airSyncBase->Range)) { | ||||
$fetchArray['options']['range'] = (string) $airSyncBase->Range; | $fetchArray['options']['range'] = (string) $airSyncBase->Range; | ||||
} | } | ||||
} | } | ||||
return $fetchArray; | return $fetchArray; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |