ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
A node specifically for testing property-related operations. More...
Public Member Functions | |
__construct ($name, array $children, array $properties=[]) | |
Creates the object. More... | |
propPatch (PropPatch $proppatch) | |
Updates properties on this node. More... | |
getProperties ($requestedProperties) | |
Returns a list of properties for this nodes. More... | |
Public Member Functions inherited from Sabre\DAV\Collection | |
getChild ($name) | |
Returns a child object, by its name. More... | |
childExists ($name) | |
Checks is a child-node exists. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
Public Member Functions inherited from Sabre\DAV\Node | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
Public Member Functions inherited from Sabre\DAV\INode | |
getName () | |
Returns the name of the node. More... | |
Public Member Functions inherited from Sabre\DAV\ICollection | |
getChildren () | |
Returns an array with all the child nodes. More... | |
Data Fields | |
$failMode = false | |
$properties | |
A node specifically for testing property-related operations.
Definition at line 15 of file PropertiesCollection.php.
Sabre\DAV\Mock\PropertiesCollection::__construct | ( | $name, | |
array | $children, | ||
array | $properties = [] |
||
) |
Creates the object.
string | $name | |
array | $children | |
array | $properties |
Definition at line 29 of file PropertiesCollection.php.
References $name, and Sabre\DAV\Mock\PropertiesCollection\$properties.
Sabre\DAV\Mock\PropertiesCollection::getProperties | ( | $requestedProperties | ) |
Returns a list of properties for this nodes.
The properties list is a list of propertynames the client requested, encoded in clark-notation {xmlnamespace}tagname
If the array is empty, it means 'all properties' were requested.
Note that it's fine to liberally give properties back, instead of conforming to the list of requested properties. The Server class will filter out the extra.
array | $requestedProperties |
Implements Sabre\DAV\IProperties.
Definition at line 81 of file PropertiesCollection.php.
Sabre\DAV\Mock\PropertiesCollection::propPatch | ( | PropPatch | $proppatch | ) |
Updates properties on this node.
This method received a PropPatch object, which contains all the information about the update.
To update specific properties, call the 'handle' method on this object. Read the PropPatch documentation for more information.
PropPatch | $proppatch |
Implements Sabre\DAV\IProperties.
Definition at line 48 of file PropertiesCollection.php.
References $r, and Sabre\DAV\PropPatch\handleRemaining().
Sabre\DAV\Mock\PropertiesCollection::$failMode = false |
Definition at line 17 of file PropertiesCollection.php.
Sabre\DAV\Mock\PropertiesCollection::$properties |
Definition at line 19 of file PropertiesCollection.php.
Referenced by Sabre\DAV\Mock\PropertiesCollection\__construct().