1 | <?php |
||
16 | class FileUtility |
||
17 | { |
||
18 | /** |
||
19 | * Get the file object of the given cell information. |
||
20 | * |
||
21 | * @param int $uid |
||
22 | * |
||
23 | * @throws \Exception |
||
24 | * @throws \TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException |
||
25 | * |
||
26 | * @return \TYPO3\CMS\Core\Resource\File |
||
27 | */ |
||
28 | public static function getFileByMetaData($uid) |
||
37 | |||
38 | /** |
||
39 | * Get the file object of the given cell information. |
||
40 | * |
||
41 | * @param int $uid |
||
42 | * |
||
43 | * @throws \Exception |
||
44 | * @throws \TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException |
||
45 | * |
||
46 | * @return \TYPO3\CMS\Core\Resource\File |
||
47 | */ |
||
48 | public static function getFileByUid($uid) |
||
53 | } |
||
54 |