Copied!

GenerateAltTextAction

GenerateAltTextAction.php : 16
Extends Action
Tags
Todo:

Belongs to separate feature repository (ibexa/ai-alt-text?)

Properties

protected $actionContext

Action.php : 15
protected ActionContext|null $actionContext = null

protected $runtimeContext

Action.php : 17
protected RuntimeContext|null $runtimeContext = null

Methods

public__construct()

Action.php : 20
public __construct(Image $image[, int $maxLength = 100 ])

Parameters

Name Type Default value Description
$image Image - -
$maxLength int 100 -

publicgetActionContext()

Action.php : 19
public getActionContext() : ActionContext|null

Return values

ActionContext|null

publicgetActionTypeIdentifier()

GenerateAltTextAction.php : 18
public getActionTypeIdentifier() : string

Return values

string

publicgetInput()

Action.php : 26
public getInput() : Image

Return values

Image

publicgetMaxLength()

Action.php : 31
public getMaxLength() : int|null

Return values

int|null

publicgetParameters()

Action.php : 47
public getParameters() : array<string, mixed>

Return values

array<string, mixed>

publicgetRuntimeContext()

Action.php : 24
public getRuntimeContext() : RuntimeContext|null

Return values

RuntimeContext|null

publichasActionContext()

Action.php : 39
public hasActionContext() : bool

Return values

bool

publichasRuntimeContext()

Action.php : 44
public hasRuntimeContext() : bool

Return values

bool

publicsetActionContext()

Action.php : 29
public setActionContext(ActionContext $actionContext) : void

Parameters

Name Type Default value Description
$actionContext ActionContext - -

publicsetMaxLength()

Action.php : 42
public setMaxLength(int|null $maxLength) : void

Parameters

Name Type Default value Description
$maxLength int|null - -

publicsetRuntimeContext()

Action.php : 34
public setRuntimeContext(RuntimeContext $runtimeContext) : void

Parameters

Name Type Default value Description
$runtimeContext RuntimeContext - -