TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
core
Classes
Resource
FileInterface.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Resource;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
20
interface
FileInterface
extends
ResourceInterface
21
{
22
/*******************************
23
* VARIOUS FILE PROPERTY GETTERS
24
*******************************/
31
public
function
hasProperty
($key);
32
39
public
function
getProperty
($key);
40
46
public
function
getSize
();
47
53
public
function
getSha1
();
54
60
public
function
getNameWithoutExtension
();
61
67
public
function
getExtension
();
68
74
public
function
getMimeType
();
75
81
public
function
getModificationTime
();
82
88
public
function
getCreationTime
();
89
90
/******************
91
* CONTENTS RELATED
92
******************/
98
public
function
getContents
();
99
108
public
function
setContents
($contents);
109
110
/****************************************
111
* STORAGE AND MANAGEMENT RELATED METHODS
112
****************************************/
118
public
function
delete
();
119
126
public
function
rename
($newName);
127
128
/*****************
129
* SPECIAL METHODS
130
*****************/
140
public
function
getPublicUrl
($relativeToCurrentScript =
false
);
141
147
public
function
isIndexed
();
148
157
public
function
getForLocalProcessing
($writable =
true
);
158
165
public
function
toArray
();
166
}
Generated on Wed Nov 11 2015 01:51:55 for TYPO3 by
1.8.3