DashboardController
class DashboardController extends Controller
Traits
Methods
Determines if the request was done by an automated script (with API token or ajax).
Create a new instance.
Show the application dashboard to the user.
Get the most recently created volume a user.
Get the most recently annotated images of a user.
Get the most recently annotated videos of a user.
Show the landing page if no user is authenticated.
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).
at line 18
__construct()
Create a new instance.
at line 30
index(Guard $auth)
Show the application dashboard to the user.
at line 44
protected
indexDashboard(User $user)
Show the dashboard for a logged in user.
at line 77
array
volumesActivityItems(User $user, int $limit = 3, string $newerThan = null)
Get the most recently created volume a user.
at line 105
array
annotationsActivityItems(User $user, int $limit = 3, string $newerThan = null)
Get the most recently annotated images of a user.
at line 138
array
videosActivityItems(User $user, int $limit = 3, string $newerThan = null)
Get the most recently annotated videos of a user.
at line 165
protected
indexLandingPage()
Show the landing page if no user is authenticated.