\FAA\Obj\GenericTaskPart

Summary

Methods
Properties
Constants
__construct()
Images()
MainImage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\FAA\Obj\Generic\?string  $id = null,\FAA\Obj\Generic\?string  $language = null)

Task part constructor.

Parameters

\FAA\Obj\Generic\?string $id

The task part id

\FAA\Obj\Generic\?string $language

The local language or null

Images()

Images(boolean  $resolved = false): array|array<mixed,\FAA\Obj\Generic\Asset>

List images

Get the content of the images attribute relation Will generate and return an empty array hen attribute is not filled

Parameters

boolean $resolved

Returns

array|array<mixed,\FAA\Obj\Generic\Asset>

MainImage()

MainImage(): \FAA\Obj\Generic\Asset|null

Get main image

Returns

\FAA\Obj\Generic\Asset|null