‪TYPO3CMS  10.4
InaccessibleFolder.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
29 {
36  protected function ‪throwInaccessibleException()
37  {
39  'You are trying to use a method on the inaccessible folder "' . $this->‪getName() . '".',
40  1390290029
41  );
42  }
43 
51  public function ‪setName(‪$name)
52  {
54  }
55 
65  public function ‪getPublicUrl($relativeToCurrentScript = false)
66  {
68  return null;
69  }
70 
85  public function ‪getFiles($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false, $sort = '', $sortRev = false)
86  {
88  }
89 
98  public function ‪getFileCount(array $filterMethods = [], $recursive = false)
99  {
101  }
102 
109  public function ‪getSubfolder(‪$name)
110  {
112  }
113 
123  public function ‪getSubfolders($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = false)
124  {
126  }
127 
137  public function ‪addFile($localFilePath, $fileName = null, $conflictMode = ‪DuplicationBehavior::CANCEL)
138  {
140  }
141 
149  public function ‪addUploadedFile(array $uploadedFileData, $conflictMode = ‪DuplicationBehavior::CANCEL)
150  {
152  }
153 
160  public function ‪rename($newName)
161  {
163  }
164 
171  public function delete($deleteRecursively = true)
172  {
174  }
175 
182  public function ‪createFile($fileName)
183  {
185  }
186 
193  public function ‪createFolder($folderName)
194  {
196  }
197 
206  public function ‪copyTo(‪Folder $targetFolder, $targetFolderName = null, $conflictMode = ‪DuplicationBehavior::RENAME)
207  {
209  }
210 
219  public function ‪moveTo(‪Folder $targetFolder, $targetFolderName = null, $conflictMode = ‪DuplicationBehavior::RENAME)
220  {
222  }
223 
230  public function ‪hasFile(‪$name)
231  {
233  }
234 
241  public function ‪hasFolder(‪$name)
242  {
244  }
245 
254  public function ‪updateProperties(array $properties)
255  {
257  }
258 
265  public function ‪setFileAndFolderNameFilters(array $filters)
266  {
268  }
269 
273  public function ‪getModificationTime()
274  {
275  return 0;
276  }
277 
281  public function ‪getCreationTime()
282  {
283  return 0;
284  }
285 }
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getSubfolder
‪getSubfolder($name)
Definition: InaccessibleFolder.php:109
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\rename
‪rename($newName)
Definition: InaccessibleFolder.php:160
‪TYPO3\CMS\Core\Resource\DuplicationBehavior\CANCEL
‪const CANCEL
Definition: DuplicationBehavior.php:46
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\setName
‪setName($name)
Definition: InaccessibleFolder.php:51
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getPublicUrl
‪string null getPublicUrl($relativeToCurrentScript=false)
Definition: InaccessibleFolder.php:65
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\createFolder
‪createFolder($folderName)
Definition: InaccessibleFolder.php:193
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\updateProperties
‪updateProperties(array $properties)
Definition: InaccessibleFolder.php:254
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getCreationTime
‪int getCreationTime()
Definition: InaccessibleFolder.php:281
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getFileCount
‪getFileCount(array $filterMethods=[], $recursive=false)
Definition: InaccessibleFolder.php:98
‪TYPO3\CMS\Core\Resource\Folder\getName
‪string getName()
Definition: Folder.php:94
‪TYPO3\CMS\Core\Resource\Folder\$name
‪string $name
Definition: Folder.php:56
‪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:85
‪TYPO3\CMS\Core\Resource\InaccessibleFolder
Definition: InaccessibleFolder.php:29
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\setFileAndFolderNameFilters
‪setFileAndFolderNameFilters(array $filters)
Definition: InaccessibleFolder.php:265
‪TYPO3\CMS\Core\Resource\Folder
Definition: Folder.php:37
‪TYPO3\CMS\Core\Resource\DuplicationBehavior\RENAME
‪const RENAME
Definition: DuplicationBehavior.php:32
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\getModificationTime
‪int getModificationTime()
Definition: InaccessibleFolder.php:273
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\moveTo
‪moveTo(Folder $targetFolder, $targetFolderName=null, $conflictMode=DuplicationBehavior::RENAME)
Definition: InaccessibleFolder.php:219
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\hasFolder
‪hasFolder($name)
Definition: InaccessibleFolder.php:241
‪TYPO3\CMS\Core\Resource
Definition: generateMimeTypes.php:52
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\throwInaccessibleException
‪throwInaccessibleException()
Definition: InaccessibleFolder.php:36
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\createFile
‪createFile($fileName)
Definition: InaccessibleFolder.php:182
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\addUploadedFile
‪addUploadedFile(array $uploadedFileData, $conflictMode=DuplicationBehavior::CANCEL)
Definition: InaccessibleFolder.php:149
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\addFile
‪addFile($localFilePath, $fileName=null, $conflictMode=DuplicationBehavior::CANCEL)
Definition: InaccessibleFolder.php:137
‪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:123
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\copyTo
‪copyTo(Folder $targetFolder, $targetFolderName=null, $conflictMode=DuplicationBehavior::RENAME)
Definition: InaccessibleFolder.php:206
‪TYPO3\CMS\Core\Resource\InaccessibleFolder\hasFile
‪hasFile($name)
Definition: InaccessibleFolder.php:230
‪TYPO3\CMS\Core\Resource\Exception\InsufficientFolderReadPermissionsException
Definition: InsufficientFolderReadPermissionsException.php:22