‪TYPO3CMS  9.5
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 
94  public function ‪getFileCount(array $filterMethods = [], $recursive = false)
95  {
97  }
98 
105  public function ‪getSubfolder(‪$name)
106  {
108  }
109 
119  public function ‪getSubfolders($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false)
120  {
122  }
123 
133  public function ‪addFile($localFilePath, $fileName = null, $conflictMode = ‪DuplicationBehavior::CANCEL)
134  {
136  }
137 
145  public function ‪addUploadedFile(array $uploadedFileData, $conflictMode = ‪DuplicationBehavior::CANCEL)
146  {
148  }
149 
156  public function ‪rename($newName)
157  {
159  }
160 
167  public function delete($deleteRecursively = true)
168  {
170  }
171 
178  public function ‪createFile($fileName)
179  {
181  }
182 
189  public function ‪createFolder($folderName)
190  {
192  }
193 
202  public function ‪copyTo(‪Folder $targetFolder, $targetFolderName = null, $conflictMode = ‪DuplicationBehavior::RENAME)
203  {
205  }
206 
215  public function ‪moveTo(‪Folder $targetFolder, $targetFolderName = null, $conflictMode = ‪DuplicationBehavior::RENAME)
216  {
218  }
219 
226  public function ‪hasFile(‪$name)
227  {
229  }
230 
237  public function ‪hasFolder(‪$name)
238  {
240  }
241 
250  public function ‪updateProperties(array $properties)
251  {
253  }
254 
261  public function ‪setFileAndFolderNameFilters(array $filters)
262  {
264  }
265 
269  public function ‪getModificationTime()
270  {
271  return 0;
272  }
273 
277  public function ‪getCreationTime()
278  {
279  return 0;
280  }
281 }
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getSubfolder
‪getSubfolder($name)
Definition: InaccessibleFolder.php:105
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\rename
‪rename($newName)
Definition: InaccessibleFolder.php:156
‪TYPO3\CMS\Core\Resource\DuplicationBehavior\CANCEL
‪const CANCEL
Definition: DuplicationBehavior.php:45
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\setName
‪setName($name)
Definition: InaccessibleFolder.php:48
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getPublicUrl
‪string null getPublicUrl($relativeToCurrentScript=false)
Definition: InaccessibleFolder.php:62
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\createFolder
‪createFolder($folderName)
Definition: InaccessibleFolder.php:189
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\updateProperties
‪updateProperties(array $properties)
Definition: InaccessibleFolder.php:250
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getCreationTime
‪int getCreationTime()
Definition: InaccessibleFolder.php:277
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getFileCount
‪getFileCount(array $filterMethods=[], $recursive=false)
Definition: InaccessibleFolder.php:94
‪TYPO3\CMS\Core\Resource\Folder\getName
‪string getName()
Definition: Folder.php:91
‪TYPO3\CMS\Core\Resource\Folder\$name
‪string $name
Definition: Folder.php:53
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getFiles
‪getFiles($start=0, $numberOfItems=0, $filterMode=self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive=false, $sort='', $sortRev=false)
Definition: InaccessibleFolder.php:81
‪TYPO3\CMS\Core\Resource\InaccessibleFolder
Definition: InaccessibleFolder.php:26
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\setFileAndFolderNameFilters
‪setFileAndFolderNameFilters(array $filters)
Definition: InaccessibleFolder.php:261
‪TYPO3\CMS\Core\Resource\Folder
Definition: Folder.php:34
‪TYPO3\CMS\Core\Resource\DuplicationBehavior\RENAME
‪const RENAME
Definition: DuplicationBehavior.php:31
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getModificationTime
‪int getModificationTime()
Definition: InaccessibleFolder.php:269
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\moveTo
‪moveTo(Folder $targetFolder, $targetFolderName=null, $conflictMode=DuplicationBehavior::RENAME)
Definition: InaccessibleFolder.php:215
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\hasFolder
‪hasFolder($name)
Definition: InaccessibleFolder.php:237
‪TYPO3\CMS\Core\Resource
Definition: generateMimeTypes.php:37
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\throwInaccessibleException
‪throwInaccessibleException()
Definition: InaccessibleFolder.php:33
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\createFile
‪createFile($fileName)
Definition: InaccessibleFolder.php:178
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\addUploadedFile
‪addUploadedFile(array $uploadedFileData, $conflictMode=DuplicationBehavior::CANCEL)
Definition: InaccessibleFolder.php:145
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\addFile
‪addFile($localFilePath, $fileName=null, $conflictMode=DuplicationBehavior::CANCEL)
Definition: InaccessibleFolder.php:133
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getSubfolders
‪getSubfolders($start=0, $numberOfItems=0, $filterMode=self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive=false)
Definition: InaccessibleFolder.php:119
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\copyTo
‪copyTo(Folder $targetFolder, $targetFolderName=null, $conflictMode=DuplicationBehavior::RENAME)
Definition: InaccessibleFolder.php:202
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\hasFile
‪hasFile($name)
Definition: InaccessibleFolder.php:226