‪TYPO3CMS  ‪main
FolderInterface.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
24 {
28  public const ‪ROLE_DEFAULT = 'default';
29  public const ‪ROLE_RECYCLER = 'recycler';
30  public const ‪ROLE_PROCESSING = 'processing';
31  public const ‪ROLE_TEMPORARY = 'temporary';
32  public const ‪ROLE_USERUPLOAD = 'userupload';
33  public const ‪ROLE_MOUNT = 'mount';
34  public const ‪ROLE_READONLY_MOUNT = 'readonly-mount';
35  public const ‪ROLE_USER_MOUNT = 'user-mount';
36 
40  public function ‪getSubfolders(): array;
41 
45  public function ‪getSubfolder(string $name): ‪Folder;
46 
50  public function ‪hasFolder(string $name): bool;
51 
55  public function ‪hasFile(string $name): bool;
56 
60  public function ‪getFile(string $fileName): ?‪FileInterface;
61 
67  public function ‪rename(string $newName): self;
68 
72  public function delete(): bool;
73 
77  public function ‪getModificationTime(): int;
78 
82  public function ‪getCreationTime(): int;
83 }
‪TYPO3\CMS\Core\Resource\FolderInterface\getSubfolder
‪getSubfolder(string $name)
‪TYPO3\CMS\Core\Resource\FileInterface
Definition: FileInterface.php:26
‪TYPO3\CMS\Core\Resource\FolderInterface\hasFolder
‪hasFolder(string $name)
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_DEFAULT
‪const ROLE_DEFAULT
Definition: FolderInterface.php:28
‪TYPO3\CMS\Core\Resource\FolderInterface\getSubfolders
‪getSubfolders()
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_USERUPLOAD
‪const ROLE_USERUPLOAD
Definition: FolderInterface.php:32
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_TEMPORARY
‪const ROLE_TEMPORARY
Definition: FolderInterface.php:31
‪TYPO3\CMS\Core\Resource\FolderInterface\getModificationTime
‪getModificationTime()
‪TYPO3\CMS\Core\Resource\Folder
Definition: Folder.php:38
‪TYPO3\CMS\Core\Resource\FolderInterface\hasFile
‪hasFile(string $name)
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_PROCESSING
‪const ROLE_PROCESSING
Definition: FolderInterface.php:30
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_MOUNT
‪const ROLE_MOUNT
Definition: FolderInterface.php:33
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_USER_MOUNT
‪const ROLE_USER_MOUNT
Definition: FolderInterface.php:35
‪TYPO3\CMS\Core\Resource
Definition: generateMimeTypes.php:52
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_READONLY_MOUNT
‪const ROLE_READONLY_MOUNT
Definition: FolderInterface.php:34
‪TYPO3\CMS\Core\Resource\FolderInterface\getCreationTime
‪getCreationTime()
‪TYPO3\CMS\Core\Resource\FolderInterface\ROLE_RECYCLER
‪const ROLE_RECYCLER
Definition: FolderInterface.php:29
‪TYPO3\CMS\Core\Resource\FolderInterface
Definition: FolderInterface.php:24
‪TYPO3\CMS\Core\Resource\ResourceInterface
Definition: ResourceInterface.php:21
‪TYPO3\CMS\Core\Resource\FolderInterface\rename
‪$this rename(string $newName)
‪TYPO3\CMS\Core\Resource\FolderInterface\getFile
‪getFile(string $fileName)