ImageLabelController
class ImageLabelController 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).
from
Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from
Controller
Response
string
getFileModel()
Get the file model class name.
string
getFileLabelModel()
Get the file label model class name.
Response
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).
in
Controller at line 15
protected RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
in
VolumeFileLabelController at line 18
Response
index(int $id)
Shows all labels of the specified file.
in
VolumeFileLabelController at line 35
Response
baseStore(StoreVolumeFileLabel $request)
Creates a new label for the specified file.
in
VolumeFileLabelController at line 65
Response
destroy(int $id)
Deletes the specified file label.
at line 96
protected string
getFileModel()
Get the file model class name.
at line 106
protected string
getFileLabelModel()
Get the file label model class name.
at line 77
Response
store(StoreImageLabel $request)
Creates a new label for the specified image.