ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
IFile.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV;
4
16interface IFile extends INode {
17
38 function put($data);
39
47 function get();
48
56 function getContentType();
57
72 function getETag();
73
79 function getSize();
80
81}
An exception for terminatinating execution or to throw for unit testing.
This interface represents a file in the directory tree.
Definition: IFile.php:16
put($data)
Replaces the contents of the file.
getETag()
Returns the ETag for a file.
getSize()
Returns the size of the node, in bytes.
getContentType()
Returns the mime-type for a file.
The INode interface is the base interface, and the parent class of both ICollection and IFile.
Definition: INode.php:12
$data
Definition: bench.php:6