Provides a class for managing anonymous users.

This class is not an entity, as fields cannot be added to an anonymous user, it has no URL, and it cannot be saved to the database. Despite this, it includes a large amount of consistency with the normal User class to allow use of the AnonymousUser class in places where different kinds of users are listed together.

Hierarchy

Expanded class hierarchy of AnonymousUser

File

includes/anonymous.inc, line 12

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
AnonymousUser::$cache public property
AnonymousUser::$hostname public property
AnonymousUser::$name public property
AnonymousUser::$roles public property
AnonymousUser::$status public property
AnonymousUser::$uid public property
AnonymousUser::access public function Provides anonymous user access for consistency with User entities. Overrides UserInterface::access
AnonymousUser::__construct public function Constructor for an anonymous user object.
AnonymousUser::createAccess public static function Provides anonymous user createAccess for consistency with User entities. Overrides UserInterface::createAccess
AnonymousUser::id public function Provides the UID for consistency with User entities. Overrides UserInterface::id
AnonymousUser::label public function Provides the anonymous user name for consistency with User entities. Overrides UserInterface::label
AnonymousUser::uri public function Provides the anonymous user URI for consistency with User entities. Overrides UserInterface::uri