TYPO3 CMS  TYPO3_8-7
InaccessibleFolder.php
Go to the documentation of this file.
1 <?php
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 
26 {
33  protected function throwInaccessibleException()
34  {
35  throw new Exception\InsufficientFolderReadPermissionsException(
36  'You are trying to use a method on the inaccessible folder "' . $this->getName() . '".',
37  1390290029
38  );
39  }
40 
48  public function setName($name)
49  {
51  }
52 
62  public function getPublicUrl($relativeToCurrentScript = false)
63  {
65  }
66 
81  public function getFiles($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false, $sort = '', $sortRev = false)
82  {
84  }
85 
95  public function getFileCount(array $filterMethods = [], $recursive = false)
96  {
98  }
99 
108  public function getSubfolder($name)
109  {
111  }
112 
122  public function getSubfolders($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false)
123  {
125  }
126 
136  public function addFile($localFilePath, $fileName = null, $conflictMode = DuplicationBehavior::CANCEL)
137  {
139  }
140 
148  public function addUploadedFile(array $uploadedFileData, $conflictMode = DuplicationBehavior::CANCEL)
149  {
151  }
152 
159  public function rename($newName)
160  {
162  }
163 
170  public function delete($deleteRecursively = true)
171  {
173  }
174 
181  public function createFile($fileName)
182  {
184  }
185 
192  public function createFolder($folderName)
193  {
195  }
196 
205  public function copyTo(Folder $targetFolder, $targetFolderName = null, $conflictMode = DuplicationBehavior::RENAME)
206  {
208  }
209 
218  public function moveTo(Folder $targetFolder, $targetFolderName = null, $conflictMode = DuplicationBehavior::RENAME)
219  {
221  }
222 
229  public function hasFile($name)
230  {
232  }
233 
240  public function hasFolder($name)
241  {
243  }
244 
253  public function updateProperties(array $properties)
254  {
256  }
257 
264  public function setFileAndFolderNameFilters(array $filters)
265  {
267  }
268 
272  public function getModificationTime()
273  {
274  return 0;
275  }
276 
280  public function getCreationTime()
281  {
282  return 0;
283  }
284 }
getFiles($start=0, $numberOfItems=0, $filterMode=self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive=false, $sort='', $sortRev=false)
getPublicUrl($relativeToCurrentScript=false)
getFileCount(array $filterMethods=[], $recursive=false)
addFile($localFilePath, $fileName=null, $conflictMode=DuplicationBehavior::CANCEL)
moveTo(Folder $targetFolder, $targetFolderName=null, $conflictMode=DuplicationBehavior::RENAME)
getSubfolders($start=0, $numberOfItems=0, $filterMode=self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive=false)
addUploadedFile(array $uploadedFileData, $conflictMode=DuplicationBehavior::CANCEL)
copyTo(Folder $targetFolder, $targetFolderName=null, $conflictMode=DuplicationBehavior::RENAME)