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
- class AnonymousUser extends \stdClass implements UserInterface
Expanded class hierarchy of AnonymousUser
File
- core/
includes/ anonymous.inc, line 12
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AnonymousUser:: |
public | function | Constructor for an anonymous user object. |
AnonymousUser:: |
public | function |
Provides the anonymous user URI for consistency with User entities. Overrides UserInterface:: |
AnonymousUser:: |
public | function |
Provides the anonymous user name for consistency with User entities. Overrides UserInterface:: |
AnonymousUser:: |
public | function |
Provides the UID for consistency with User entities. Overrides UserInterface:: |
AnonymousUser:: |
public static | function |
Provides anonymous user createAccess for consistency with User entities. Overrides UserInterface:: |
AnonymousUser:: |
public | function |
Provides anonymous user access for consistency with User entities. Overrides UserInterface:: |
AnonymousUser:: |
public | property | |
AnonymousUser:: |
public | property | |
AnonymousUser:: |
public | property | |
AnonymousUser:: |
public | property | |
AnonymousUser:: |
public | property | |
AnonymousUser:: |
public | property |