|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This class represents a MKCOL operation. More...
Inheritance diagram for Sabre\DAV\MkCol:
Collaboration diagram for Sabre\DAV\MkCol:Public Member Functions | |
| __construct (array $resourceType, array $mutations) | |
| Creates the MKCOL object. More... | |
| getResourceType () | |
| Returns the resourcetype of the new collection. More... | |
| hasResourceType ($resourceType) | |
| Returns true or false if the MKCOL operation has at least the specified resource type. More... | |
Public Member Functions inherited from Sabre\DAV\PropPatch | |
| __construct (array $mutations) | |
| Constructor. More... | |
| handle ($properties, callable $callback) | |
| Call this function if you wish to handle updating certain properties. More... | |
| handleRemaining (callable $callback) | |
| Call this function if you wish to handle all properties that haven't been handled by anything else yet. More... | |
| setResultCode ($properties, $resultCode) | |
| Sets the result code for one or more properties. More... | |
| setRemainingResultCode ($resultCode) | |
| Sets the result code for all properties that did not have a result yet. More... | |
| getRemainingMutations () | |
| Returns the list of properties that don't have a result code yet. More... | |
| getRemainingValues () | |
| Returns the list of properties that don't have a result code yet. More... | |
| commit () | |
| Performs the actual update, and calls all callbacks. More... | |
| getResult () | |
| Returns the result of the operation. More... | |
| getMutations () | |
| Returns the full list of mutations. More... | |
Protected Attributes | |
| $resourceType | |
Protected Attributes inherited from Sabre\DAV\PropPatch | |
| $mutations | |
| $result = [] | |
| $propertyUpdateCallbacks = [] | |
| $failed = false | |
This class represents a MKCOL operation.
MKCOL creates a new collection. MKCOL comes in two flavours:
Property updates must always be atomic. This means that a property update must either completely succeed, or completely fail.
| Sabre\DAV\MkCol::__construct | ( | array | $resourceType, |
| array | $mutations | ||
| ) |
Creates the MKCOL object.
| string[] | $resourceType | List of resourcetype values. |
| array | $mutations | List of new properties values. |
Definition at line 38 of file MkCol.php.
References Sabre\DAV\PropPatch\$mutations, and Sabre\DAV\MkCol\$resourceType.
| Sabre\DAV\MkCol::getResourceType | ( | ) |
Returns the resourcetype of the new collection.
Definition at line 50 of file MkCol.php.
References Sabre\DAV\MkCol\$resourceType.
Referenced by Sabre\DAV\Server\createCollection(), and Sabre\CalDAV\CalendarHome\createExtendedCollection().
Here is the caller graph for this function:| Sabre\DAV\MkCol::hasResourceType | ( | $resourceType | ) |
Returns true or false if the MKCOL operation has at least the specified resource type.
If the resourcetype is specified as an array, all resourcetypes are checked.
| string | string[] | $resourceType |
Definition at line 66 of file MkCol.php.
References Sabre\DAV\MkCol\$resourceType.
Referenced by Sabre\DAVACL\PrincipalCollection\createExtendedCollection().
Here is the caller graph for this function:
|
protected |
Definition at line 30 of file MkCol.php.
Referenced by Sabre\DAV\MkCol\__construct(), Sabre\DAV\MkCol\getResourceType(), and Sabre\DAV\MkCol\hasResourceType().