TYPO3 CMS  TYPO3_6-2
InaccessibleFolder.php
Go to the documentation of this file.
1 <?php
3 
18 
27 class InaccessibleFolder extends Folder {
28 
36  protected function throwInaccessibleException() {
37  throw new \TYPO3\CMS\Core\Resource\Exception\InsufficientFolderReadPermissionsException(
38  'You are trying to use a method on an Inaccssible Folder',
39  1390290029
40  );
41  }
42 
51  public function setName($name) {
53  }
54 
55 
65  public function getPublicUrl($relativeToCurrentScript = FALSE) {
67  }
68 
81  public function getFiles($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive = FALSE) {
83  }
84 
94  public function getFileCount(array $filterMethods = array(), $recursive = FALSE) {
96  }
97 
106  public function getSubfolder($name) {
108  }
109 
118  public function getSubfolders($start = 0, $numberOfItems = 0, $filterMode = self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS) {
120  }
121 
131  public function addFile($localFilePath, $fileName = NULL, $conflictMode = 'cancel') {
133  }
134 
142  public function addUploadedFile(array $uploadedFileData, $conflictMode = 'cancel') {
144  }
145 
152  public function rename($newName) {
154  }
155 
162  public function delete($deleteRecursively = TRUE) {
164  }
165 
172  public function createFile($fileName) {
174  }
175 
182  public function createFolder($folderName) {
184  }
185 
194  public function copyTo(Folder $targetFolder, $targetFolderName = NULL, $conflictMode = 'renameNewFile') {
196  }
197 
206  public function moveTo(Folder $targetFolder, $targetFolderName = NULL, $conflictMode = 'renameNewFile') {
208  }
209 
216  public function hasFile($name) {
218  }
219 
226  public function hasFolder($name) {
228  }
229 
230 
240  public function updateProperties(array $properties) {
242  }
243 
244 
251  public function setFileAndFolderNameFilters(array $filters) {
253  }
254 
255 
256 
257 
258 }
moveTo(Folder $targetFolder, $targetFolderName=NULL, $conflictMode='renameNewFile')
addFile($localFilePath, $fileName=NULL, $conflictMode='cancel')
getSubfolders($start=0, $numberOfItems=0, $filterMode=self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS)
addUploadedFile(array $uploadedFileData, $conflictMode='cancel')
getFiles($start=0, $numberOfItems=0, $filterMode=self::FILTER_MODE_USE_OWN_AND_STORAGE_FILTERS, $recursive=FALSE)
getFileCount(array $filterMethods=array(), $recursive=FALSE)
copyTo(Folder $targetFolder, $targetFolderName=NULL, $conflictMode='renameNewFile')
getPublicUrl($relativeToCurrentScript=FALSE)