‪TYPO3CMS  ‪main
TYPO3\CMS\Filelist\Dto\ResourceView Class Reference

Public Member Functions

 __construct (public readonly ResourceInterface $resource, public readonly UserPermissions $userPermissions, public readonly Icon $icon)
 
 getUid ()
 
 getIdentifier ()
 
 getMetaDataUid ()
 
 getType ()
 
 getName ()
 
 getPath ()
 
 getPublicUrl ()
 
 getPreview ()
 
 getThumbnailUri ()
 
 getIconIdentifier ()
 
 getIconSmall ()
 
 getIconMedium ()
 
 getIconLarge ()
 
 getCreatedAt ()
 
 getUpdatedAt ()
 
 getCheckboxConfig ()
 
 isMissing ()
 
 isLocked ()
 
 canEditMetadata ()
 
 canRead ()
 
 canWrite ()
 
 canDelete ()
 
 canCopy ()
 
 canRename ()
 
 canMove ()
 

Public Attributes

string $moduleUri
 
string $editContentUri
 
string $editDataUri
 
string $replaceUri
 
bool $isDownloadable = true
 
bool $isSelectable = true
 
bool $isSelected = false
 

Detailed Description

Definition at line 32 of file ResourceView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Filelist\Dto\ResourceView::__construct ( public readonly ResourceInterface  $resource,
public readonly UserPermissions  $userPermissions,
public readonly Icon  $icon 
)

Definition at line 43 of file ResourceView.php.

Member Function Documentation

◆ canCopy()

TYPO3\CMS\Filelist\Dto\ResourceView::canCopy ( )

Definition at line 260 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\createControlCopy().

◆ canDelete()

TYPO3\CMS\Filelist\Dto\ResourceView::canDelete ( )

Definition at line 251 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\createControlDelete().

◆ canEditMetadata()

TYPO3\CMS\Filelist\Dto\ResourceView::canEditMetadata ( )

◆ canMove()

TYPO3\CMS\Filelist\Dto\ResourceView::canMove ( )

Definition at line 278 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\createControlCut().

◆ canRead()

◆ canRename()

TYPO3\CMS\Filelist\Dto\ResourceView::canRename ( )

Definition at line 269 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\createControlRename().

◆ canWrite()

◆ getCheckboxConfig()

TYPO3\CMS\Filelist\Dto\ResourceView::getCheckboxConfig ( )

◆ getCreatedAt()

TYPO3\CMS\Filelist\Dto\ResourceView::getCreatedAt ( )

Definition at line 168 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\renderCreationTime().

◆ getIconIdentifier()

TYPO3\CMS\Filelist\Dto\ResourceView::getIconIdentifier ( )

Definition at line 139 of file ResourceView.php.

◆ getIconLarge()

TYPO3\CMS\Filelist\Dto\ResourceView::getIconLarge ( )

Definition at line 160 of file ResourceView.php.

References TYPO3\CMS\Core\Imaging\Icon\setSize().

◆ getIconMedium()

TYPO3\CMS\Filelist\Dto\ResourceView::getIconMedium ( )

Definition at line 152 of file ResourceView.php.

References TYPO3\CMS\Core\Imaging\Icon\setSize().

◆ getIconSmall()

TYPO3\CMS\Filelist\Dto\ResourceView::getIconSmall ( )

◆ getIdentifier()

◆ getMetaDataUid()

TYPO3\CMS\Filelist\Dto\ResourceView::getMetaDataUid ( )

◆ getName()

◆ getPath()

TYPO3\CMS\Filelist\Dto\ResourceView::getPath ( )

◆ getPreview()

TYPO3\CMS\Filelist\Dto\ResourceView::getPreview ( )

◆ getPublicUrl()

TYPO3\CMS\Filelist\Dto\ResourceView::getPublicUrl ( )

Definition at line 107 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\createControlView().

◆ getThumbnailUri()

TYPO3\CMS\Filelist\Dto\ResourceView::getThumbnailUri ( )

◆ getType()

TYPO3\CMS\Filelist\Dto\ResourceView::getType ( )

Definition at line 73 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\renderType().

◆ getUid()

TYPO3\CMS\Filelist\Dto\ResourceView::getUid ( )

Definition at line 49 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\createControlDelete().

◆ getUpdatedAt()

TYPO3\CMS\Filelist\Dto\ResourceView::getUpdatedAt ( )

◆ isLocked()

TYPO3\CMS\Filelist\Dto\ResourceView::isLocked ( )

Definition at line 216 of file ResourceView.php.

◆ isMissing()

TYPO3\CMS\Filelist\Dto\ResourceView::isMissing ( )

Definition at line 207 of file ResourceView.php.

Referenced by TYPO3\CMS\Filelist\FileList\renderName().

Member Data Documentation

◆ $editContentUri

string TYPO3\CMS\Filelist\Dto\ResourceView::$editContentUri

Definition at line 35 of file ResourceView.php.

◆ $editDataUri

string TYPO3\CMS\Filelist\Dto\ResourceView::$editDataUri

Definition at line 36 of file ResourceView.php.

◆ $isDownloadable

bool TYPO3\CMS\Filelist\Dto\ResourceView::$isDownloadable = true

Definition at line 39 of file ResourceView.php.

◆ $isSelectable

bool TYPO3\CMS\Filelist\Dto\ResourceView::$isSelectable = true

Definition at line 40 of file ResourceView.php.

◆ $isSelected

bool TYPO3\CMS\Filelist\Dto\ResourceView::$isSelected = false

◆ $moduleUri

string TYPO3\CMS\Filelist\Dto\ResourceView::$moduleUri

Definition at line 34 of file ResourceView.php.

◆ $replaceUri

string TYPO3\CMS\Filelist\Dto\ResourceView::$replaceUri

Definition at line 37 of file ResourceView.php.