Controller - How to get user loggedin data in package controller? [SOLVED]
Permalink
I know how to get it in the view:
$u = new User();
$u->isLoggedIn();
How about the controller?
Error: Class 'Concrete\Package\PageRedirect\User' not found
C5.7
EDIT:
http://documentation.concrete5.org/developers/users-groups/reading-...
use Concrete\Core\User\User;
$u = new User();
$u->isLoggedIn();
How about the controller?
Error: Class 'Concrete\Package\PageRedirect\User' not found
C5.7
EDIT:
http://documentation.concrete5.org/developers/users-groups/reading-...
use Concrete\Core\User\User;