public function UserSession::getLastAccessedTime
public UserSession::getLastAccessedTime()
The timestamp when the account last accessed the site.
A value of 0 means the user has never accessed the site.
Return value
int Timestamp of the last access.
Overrides AccountInterface::getLastAccessedTime
File
- core/lib/Drupal/Core/Session/UserSession.php, line 194
Class
- UserSession
- An implementation of the user account interface for the global user.
Namespace
Drupal\Core\SessionCode
public function getLastAccessedTime() { return $this->access; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!UserSession.php/function/UserSession::getLastAccessedTime/8.1.x