class VideoLabelController extends VolumeFileLabelController

Traits

AuthorizesRequests
ValidatesRequests

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
index(int $id)

Shows all labels of the specified file.

baseStore(StoreVolumeFileLabel $request)

Creates a new label for the specified file.

destroy(int $id)

Deletes the specified file label.

string
getFileModel()

Get the file model class name.

string
getFileLabelModel()

Get the file label model class name.

store(StoreVideoLabel $request)

Creates a new label for the specified video.

Details

in Controller at line 21
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

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

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

Return Value

RedirectResponse

Response index(int $id)

Shows all labels of the specified file.

Parameters

int $id

File ID

Return Value

Response

VolumeFileLabel baseStore(StoreVolumeFileLabel $request)

Creates a new label for the specified file.

Parameters

StoreVolumeFileLabel $request

Return Value

VolumeFileLabel

destroy(int $id)

Deletes the specified file label.

Parameters

int $id

at line 96
protected string getFileModel()

Get the file model class name.

Return Value

string

at line 106
protected string getFileLabelModel()

Get the file label model class name.

Return Value

string

at line 77
VolumeFileLabel store(StoreVideoLabel $request)

Creates a new label for the specified video.

Parameters

StoreVideoLabel $request

Return Value

VolumeFileLabel