‪TYPO3CMS  ‪main
File.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 
23 class ‪File
24 {
25  public const ‪UPLOAD = 1;
26  public const ‪COPY = 2;
27  public const ‪MOVE = 3;
28  public const ‪DELETE = 4;
29  public const ‪RENAME = 5;
30  public const ‪NEW_FOLDER = 6;
31 
32  /*
33  * The constant is not in use but the xlf file tells that 7 represents unzip
34  * @see https://github.com/typo3/typo3/blob/master/typo3/sysext/belog/Resources/Private/Language/locallang.xlf#L267
35  */
36  public const ‪UNZIP = 7;
37  public const ‪NEW_FILE = 8;
38  public const ‪EDIT = 9;
39 }
‪TYPO3\CMS\Core\SysLog\Action\File\UNZIP
‪const UNZIP
Definition: File.php:36
‪TYPO3\CMS\Core\SysLog\Action
Definition: Cache.php:18
‪TYPO3\CMS\Core\SysLog\Action\File\NEW_FILE
‪const NEW_FILE
Definition: File.php:37
‪TYPO3\CMS\Core\SysLog\Action\File
Definition: File.php:24
‪TYPO3\CMS\Core\SysLog\Action\File\DELETE
‪const DELETE
Definition: File.php:28
‪TYPO3\CMS\Core\SysLog\Action\File\MOVE
‪const MOVE
Definition: File.php:27
‪TYPO3\CMS\Core\SysLog\Action\File\UPLOAD
‪const UPLOAD
Definition: File.php:25
‪TYPO3\CMS\Core\SysLog\Action\File\COPY
‪const COPY
Definition: File.php:26
‪TYPO3\CMS\Core\SysLog\Action\File\NEW_FOLDER
‪const NEW_FOLDER
Definition: File.php:30
‪TYPO3\CMS\Core\SysLog\Action\File\RENAME
‪const RENAME
Definition: File.php:29
‪TYPO3\CMS\Core\SysLog\Action\File\EDIT
‪const EDIT
Definition: File.php:38