ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($name, $data=null) | |
getName () | |
Returns the name of the node. More... | |
get () | |
Returns the data. More... | |
getProperties ($properties) | |
Returns a list of properties for this nodes. More... | |
propPatch (PropPatch $propPatch) | |
Updates properties on this node. More... | |
Public Member Functions inherited from Sabre\DAV\File | |
put ($data) | |
Replaces the contents of the file. More... | |
get () | |
Returns the data. More... | |
getSize () | |
Returns the size of the file, in bytes. More... | |
getETag () | |
Returns the ETag for a file. More... | |
getContentType () | |
Returns the mime-type for a file. 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... | |
Data Fields | |
$name | |
$data | |
$properties | |
Definition at line 162 of file TreeTest.php.
Sabre\DAV\TreeFileTester::__construct | ( | $name, | |
$data = null |
|||
) |
Sabre\DAV\TreeFileTester::get | ( | ) |
Returns the data.
This method may either return a string or a readable stream resource
Implements Sabre\DAV\IFile.
Definition at line 182 of file TreeTest.php.
References $data.
Sabre\DAV\TreeFileTester::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 176 of file TreeTest.php.
References $name.
Sabre\DAV\TreeFileTester::getProperties | ( | $properties | ) |
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 | $properties |
Implements Sabre\DAV\IProperties.
Definition at line 188 of file TreeTest.php.
Sabre\DAV\TreeFileTester::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 206 of file TreeTest.php.
References Sabre\DAV\PropPatch\getMutations(), and Sabre\DAV\PropPatch\setRemainingResultCode().
Sabre\DAV\TreeFileTester::$data |
Definition at line 165 of file TreeTest.php.
Sabre\DAV\TreeFileTester::$name |
Definition at line 164 of file TreeTest.php.
Sabre\DAV\TreeFileTester::$properties |
Definition at line 166 of file TreeTest.php.