TYPO3 CMS  TYPO3_7-6
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 {
34  protected function throwInaccessibleException()
35  {
36  throw new \TYPO3\CMS\Core\Resource\Exception\InsufficientFolderReadPermissionsException(
37  'You are trying to use a method on an inaccessible folder.',
38  1390290029
39  );
40  }
41 
50  public function setName($name)
51  {
53  }
54 
64  public function getPublicUrl($relativeToCurrentScript = false)
65  {
67  }
68 
83  public function getFiles($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false, $sort = '', $sortRev = false)
84  {
86  }
87 
97  public function getFileCount(array $filterMethods = [], $recursive = false)
98  {
100  }
101 
110  public function getSubfolder($name)
111  {
113  }
114 
124  public function getSubfolders($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false)
125  {
127  }
128 
138  public function addFile($localFilePath, $fileName = null, $conflictMode = DuplicationBehavior::CANCEL)
139  {
141  }
142 
150  public function addUploadedFile(array $uploadedFileData, $conflictMode = DuplicationBehavior::CANCEL)
151  {
153  }
154 
161  public function rename($newName)
162  {
164  }
165 
172  public function delete($deleteRecursively = true)
173  {
175  }
176 
183  public function createFile($fileName)
184  {
186  }
187 
194  public function createFolder($folderName)
195  {
197  }
198 
207  public function copyTo(Folder $targetFolder, $targetFolderName = null, $conflictMode = DuplicationBehavior::RENAME)
208  {
210  }
211 
220  public function moveTo(Folder $targetFolder, $targetFolderName = null, $conflictMode = DuplicationBehavior::RENAME)
221  {
223  }
224 
231  public function hasFile($name)
232  {
234  }
235 
242  public function hasFolder($name)
243  {
245  }
246 
256  public function updateProperties(array $properties)
257  {
259  }
260 
267  public function setFileAndFolderNameFilters(array $filters)
268  {
270  }
271 }
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)