ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAV\FileMock Class Reference
+ Inheritance diagram for Sabre\DAV\FileMock:
+ Collaboration diagram for Sabre\DAV\FileMock:

Public Member Functions

 getName ()
 Returns the name of the 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...
 

Detailed Description

Definition at line 227 of file BasicNodeTest.php.

Member Function Documentation

◆ getName()

Sabre\DAV\FileMock::getName ( )

Returns the name of the node.

This is used to generate the url.

Returns
string

Implements Sabre\DAV\INode.

Definition at line 229 of file BasicNodeTest.php.

229  {
230 
231  return 'mockfile';
232 
233  }

The documentation for this class was generated from the following file: