VolumeMetadata
class VolumeMetadata
Properties
Collection | $files |
Methods
__construct(MediaType|null $type = null, string|null $name = null, string|null $url = null, string|null $handle = null)
No description
Collection
getFiles()
No description
FileMetadata|null
getFile(string $name)
No description
bool
isEmpty()
Determine if there is any file metadata.
bool
hasAnnotations()
No description
bool
hasFileLabels()
No description
array
getAnnotationLabels(array $onlyLabels = [])
The returned array is indexed by label IDs.
array
getFileLabels(array $onlyLabels = [])
The returned array is indexed by label IDs.
array
getUsers(array $onlyLabels = [])
Get all users associated with annotations and/or file labels.
array
getMatchingUsers(array $map = [], array $onlyLabels = [])
No description
array
getMatchingLabels(array $map = [], array $onlyLabels = [])
No description
Details
at line 14
__construct(MediaType|null $type = null, string|null $name = null, string|null $url = null, string|null $handle = null)
No description
at line 23
addFile(FileMetadata $file)
No description
at line 28
Collection
getFiles()
No description
at line 33
FileMetadata|null
getFile(string $name)
No description
at line 41
bool
isEmpty()
Determine if there is any file metadata.
at line 52
bool
hasAnnotations()
No description
at line 63
bool
hasFileLabels()
No description
at line 77
array
getAnnotationLabels(array $onlyLabels = [])
The returned array is indexed by label IDs.
at line 92
array
getFileLabels(array $onlyLabels = [])
The returned array is indexed by label IDs.
at line 111
array
getUsers(array $onlyLabels = [])
Get all users associated with annotations and/or file labels.
at line 132
array
getMatchingUsers(array $map = [], array $onlyLabels = [])
No description
at line 172
array
getMatchingLabels(array $map = [], array $onlyLabels = [])
No description