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... | |
![]() | |
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... | |
![]() | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
delete () | |
Deleted the current node. More... | |
getName () | |
Returns the name of the node. More... | |
setName ($name) | |
Renames the node. More... | |
getLastModified () | |
Returns the last modification time, as a unix timestamp. More... | |
put ($data) | |
Replaces the contents of the file. More... | |
get () | |
Returns the data. More... | |
getContentType () | |
Returns the mime-type for a file. More... | |
getETag () | |
Returns the ETag for a file. More... | |
getSize () | |
Returns the size of the node, in bytes. More... | |
propPatch (PropPatch $propPatch) | |
Updates properties on this node. More... | |
getProperties ($properties) | |
Returns a list of properties for this nodes. More... | |
Data Fields | |
$name | |
$data | |
$properties | |
Definition at line 162 of file TreeTest.php.
Sabre\DAV\TreeFileTester::__construct | ( | $name, | |
$data = null |
|||
) |
Definition at line 168 of file TreeTest.php.
References Sabre\DAV\TreeFileTester\$data, Sabre\DAV\TreeFileTester\$name, and data.
Sabre\DAV\TreeFileTester::get | ( | ) |
Returns the data.
This method may either return a string or a readable stream resource
Reimplemented from Sabre\DAV\File.
Definition at line 182 of file TreeTest.php.
References Sabre\DAV\TreeFileTester\$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 Sabre\DAV\TreeFileTester\$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.
References Sabre\DAV\TreeFileTester\$properties.
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.
Referenced by Sabre\DAV\TreeFileTester\__construct(), and Sabre\DAV\TreeFileTester\get().
Sabre\DAV\TreeFileTester::$name |
Definition at line 164 of file TreeTest.php.
Referenced by Sabre\DAV\TreeFileTester\__construct(), and Sabre\DAV\TreeFileTester\getName().
Sabre\DAV\TreeFileTester::$properties |
Definition at line 166 of file TreeTest.php.
Referenced by Sabre\DAV\TreeFileTester\getProperties().