TYPO3  7.6
InaccessibleFolder.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 
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 
55 
65  public function getPublicUrl($relativeToCurrentScript = false)
66  {
68  }
69 
82  public function getFiles($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false)
83  {
85  }
86 
96  public function getFileCount(array $filterMethods = array(), $recursive = false)
97  {
99  }
100 
109  public function getSubfolder($name)
110  {
112  }
113 
122  public function getSubfolders($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS)
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 
245 
255  public function updateProperties(array $properties)
256  {
258  }
259 
260 
267  public function setFileAndFolderNameFilters(array $filters)
268  {
270  }
271 }