class VolumeImageMetadataController extendsController

Traits

AuthorizesRequests
ValidatesRequests

Properties

protectedarray $allowedAttributes Allowed columns for the CSV file to change image attributes.
protectedarray $allowedMetadata Allowed columns for the CSV file to change image metadata.
protectedarray $columnSynonyms Column name synonyms.

Methods

bool
isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Response
store(Request$request,int$id)

Add or update image metadata for a volume.

fillImageAttributes(Image$image,array$toFill)

Fill the attributes of an image.

fillImageMetadata(Image$image,array$toFill)

Fill metadata of an image.

Details

inControllerat line21
bool isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

inControllerat line15
protectedRedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line82
Response store(Request$request,int$id)

Add or update image metadata for a volume.

Parameters

Request $request
int $id Volume ID

Return Value

Response

at line210
protected fillImageAttributes(Image$image,array$toFill)

Fill the attributes of an image.

Parameters

Image $image
array $toFill

at line249
protected fillImageMetadata(Image$image,array$toFill)

Fill metadata of an image.

Parameters

Image $image
array $toFill