FileMetadata
abstract class FileMetadata
Properties
Annotation[] | $annotations | ||
LabelAndUser[] | $labels | The labels directly attached to the file. |
Methods
__construct(string $name, float|null $lat = null, float|null $lng = null, string|null $takenAt = null, float|null $area = null, float|null $distanceToGround = null, float|null $gpsAltitude = null, float|null $yaw = null)
No description
bool
isEmpty()
No description
array
getInsertData()
Get the array of metadata that can be used for Model::insert();
void
array
getAnnotations()
No description
bool
hasAnnotations()
No description
void
array
getFileLabels()
No description
bool
hasFileLabels()
No description
array
getFileLabelLabels(array $onlyLabels = [])
No description
array
getAnnotationLabels(array $onlyLabels = [])
No description
array
getUsers(array $onlyLabels = [])
No description
array
getAnnotationLabelAndUsers(array $onlyLabels = [])
No description
array
getFileLabelLabelAndUsers(array $onlyLabels = [])
No description
Details
at line 20
__construct(string $name, float|null $lat = null, float|null $lng = null, string|null $takenAt = null, float|null $area = null, float|null $distanceToGround = null, float|null $gpsAltitude = null, float|null $yaw = null)
No description
at line 33
bool
isEmpty()
No description
at line 41
array
getInsertData()
Get the array of metadata that can be used for Model::insert();
at line 46
void
addAnnotation(Annotation $annotation)
No description
at line 51
array
getAnnotations()
No description
at line 56
bool
hasAnnotations()
No description
at line 61
void
addFileLabel(LabelAndUser $lau)
No description
at line 66
array
getFileLabels()
No description
at line 71
bool
hasFileLabels()
No description
at line 79
array
getFileLabelLabels(array $onlyLabels = [])
No description
at line 93
array
getAnnotationLabels(array $onlyLabels = [])
No description
at line 109
array
getUsers(array $onlyLabels = [])
No description
at line 124
protected array
getAnnotationLabelAndUsers(array $onlyLabels = [])
No description
at line 142
protected array
getFileLabelLabelAndUsers(array $onlyLabels = [])
No description