TYPO3
7.6
|
Public Member Functions | |
__construct (\TYPO3\CMS\Core\Resource\FileInterface $resource) | |
getIcon () | |
getResource () | |
getIsEditable () | |
getIsMetadataEditable () | |
getMetadataUid () | |
getName () | |
getPath () | |
getPublicUrl () | |
getExtension () | |
getLastModified () | |
getSize () | |
getIsReadable () | |
getIsWritable () | |
getIsReplaceable () | |
getIsRenamable () | |
getIsDeletable () | |
getIsImage () | |
getReferenceCount () | |
__call ($method, $arguments) | |
Protected Member Functions | |
getDatabaseConnection () | |
getBackendUser () | |
getLanguageService () | |
Protected Attributes | |
$resource | |
Static Protected Attributes | |
static | $referenceCounts = [] |
Class FileFacade
This class is meant to be a wrapper for Resource objects, which do not provide necessary methods needed in the views of the filelist extension. It is a first approach to get rid of the FileList class that mixes up PHP, HTML and JavaScript.
Definition at line 30 of file FileFacade.php.
__construct | ( | \TYPO3\CMS\Core\Resource\FileInterface | $resource | ) |
\TYPO3\CMS\Core\Resource\FileInterface | $resource |
Definition at line 48 of file FileFacade.php.
References FileFacade\$resource, and GeneralUtility\makeInstance().
__call | ( | $method, | |
$arguments | |||
) |
string | $method | |
array | $arguments |
Definition at line 271 of file FileFacade.php.
|
protected |
Definition at line 291 of file FileFacade.php.
References $GLOBALS.
Referenced by FileFacade\getIsMetadataEditable().
|
protected |
Definition at line 283 of file FileFacade.php.
References $GLOBALS.
Referenced by FileFacade\getReferenceCount().
getExtension | ( | ) |
getIcon | ( | ) |
getIsDeletable | ( | ) |
Definition at line 214 of file FileFacade.php.
getIsEditable | ( | ) |
Definition at line 74 of file FileFacade.php.
References $GLOBALS, FileFacade\getIsWritable(), and GeneralUtility\inList().
getIsImage | ( | ) |
Definition at line 227 of file FileFacade.php.
References $GLOBALS, FileFacade\getExtension(), and GeneralUtility\inList().
getIsMetadataEditable | ( | ) |
Definition at line 83 of file FileFacade.php.
References FileFacade\getBackendUser(), and FileFacade\getIsWritable().
getIsReadable | ( | ) |
Definition at line 162 of file FileFacade.php.
getIsRenamable | ( | ) |
Definition at line 201 of file FileFacade.php.
getIsReplaceable | ( | ) |
Definition at line 188 of file FileFacade.php.
getIsWritable | ( | ) |
Definition at line 175 of file FileFacade.php.
Referenced by FileFacade\getIsEditable(), and FileFacade\getIsMetadataEditable().
|
protected |
Definition at line 299 of file FileFacade.php.
References $GLOBALS.
Referenced by FileFacade\getSize().
getLastModified | ( | ) |
getMetadataUid | ( | ) |
Definition at line 91 of file FileFacade.php.
getName | ( | ) |
Definition at line 109 of file FileFacade.php.
getPath | ( | ) |
Definition at line 117 of file FileFacade.php.
getPublicUrl | ( | ) |
Definition at line 130 of file FileFacade.php.
getReferenceCount | ( | ) |
Fetch, cache and return the number of references of a file
Definition at line 237 of file FileFacade.php.
References FileFacade\getDatabaseConnection().
getResource | ( | ) |
getSize | ( | ) |
Definition at line 154 of file FileFacade.php.
References GeneralUtility\formatSize(), and FileFacade\getLanguageService().
|
staticprotected |
Definition at line 37 of file FileFacade.php.
|
protected |
Definition at line 42 of file FileFacade.php.
Referenced by FileFacade\__construct(), and FileFacade\getResource().