ResourceView
Table of Contents
Properties
- $editContentUri : string|null
- $editDataUri : string|null
- $icon : Icon
- $isDownloadable : bool
- $isSelectable : bool
- $isSelected : bool
- $moduleUri : string|null
- $replaceUri : string|null
- $resource : ResourceInterface
- $userPermissions : UserPermissions
Methods
- __construct() : mixed
- canCopy() : bool|null
- canDelete() : bool|null
- canEditMetadata() : bool
- canMove() : bool|null
- canRead() : bool|null
- canRename() : bool|null
- canReplace() : bool|null
- canWrite() : bool|null
- getCheckboxConfig() : array<string|int, mixed>|null
- getCreatedAt() : int|null
- getIconIdentifier() : string
- getIconLarge() : Icon
- getIconMedium() : Icon
- getIconSmall() : Icon
- getIdentifier() : string
- getMetaDataUid() : int|null
- getName() : string
- getPath() : string
- getPreview() : File|null
- getPublicUrl() : string|null
- getSize() : int|null
- getType() : string
- getUid() : int|null
- getUpdatedAt() : int|null
- isLocked() : bool
- isMissing() : bool|null
Properties
$editContentUri
        public
            string|null
    $editContentUri
    
    
    
    
    
    
$editDataUri
        public
            string|null
    $editDataUri
    
    
    
    
    
    
$icon read-only
        public
            Icon
    $icon
    
    
    
    
    
    
$isDownloadable
        public
            bool
    $isDownloadable
     = true
    
    
    
    
    
$isSelectable
        public
            bool
    $isSelectable
     = true
    
    
    
    
    
$isSelected
        public
            bool
    $isSelected
     = false
    
    
    
    
    
$moduleUri
        public
            string|null
    $moduleUri
    
    
    
    
    
    
$replaceUri
        public
            string|null
    $replaceUri
    
    
    
    
    
    
$resource read-only
        public
            ResourceInterface
    $resource
    
    
    
    
    
    
$userPermissions read-only
        public
            UserPermissions
    $userPermissions
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(ResourceInterface $resource, UserPermissions $userPermissions, Icon $icon) : mixed
    Parameters
- $resource : ResourceInterface
- $userPermissions : UserPermissions
- $icon : Icon
canCopy()
    public
                    canCopy() : bool|null
    Return values
bool|nullcanDelete()
    public
                    canDelete() : bool|null
    Return values
bool|nullcanEditMetadata()
    public
                    canEditMetadata() : bool
    Return values
boolcanMove()
    public
                    canMove() : bool|null
    Return values
bool|nullcanRead()
    public
                    canRead() : bool|null
    Return values
bool|nullcanRename()
    public
                    canRename() : bool|null
    Return values
bool|nullcanReplace()
    public
                    canReplace() : bool|null
    Return values
bool|nullcanWrite()
    public
                    canWrite() : bool|null
    Return values
bool|nullgetCheckboxConfig()
    public
                    getCheckboxConfig() : array<string|int, mixed>|null
    Return values
array<string|int, mixed>|nullgetCreatedAt()
    public
                    getCreatedAt() : int|null
    Return values
int|nullgetIconIdentifier()
    public
                    getIconIdentifier() : string
    Return values
stringgetIconLarge()
    public
                    getIconLarge() : Icon
    Return values
IcongetIconMedium()
    public
                    getIconMedium() : Icon
    Return values
IcongetIconSmall()
    public
                    getIconSmall() : Icon
    Return values
IcongetIdentifier()
    public
                    getIdentifier() : string
    Return values
stringgetMetaDataUid()
    public
                    getMetaDataUid() : int|null
    Return values
int|nullgetName()
    public
                    getName() : string
    Return values
stringgetPath()
    public
                    getPath() : string
    Return values
stringgetPreview()
    public
                    getPreview() : File|null
    Return values
File|nullgetPublicUrl()
    public
                    getPublicUrl() : string|null
    Return values
string|nullgetSize()
    public
                    getSize() : int|null
    Return values
int|nullgetType()
    public
                    getType() : string
    Return values
stringgetUid()
    public
                    getUid() : int|null
    Return values
int|nullgetUpdatedAt()
    public
                    getUpdatedAt() : int|null
    Return values
int|nullisLocked()
    public
                    isLocked() : bool
    Return values
boolisMissing()
    public
                    isMissing() : bool|null