1 anonymous.inc public AnonymousUser::__construct($values = array())

Constructor for an anonymous user object.

File

core/includes/anonymous.inc, line 24

Class

AnonymousUser
Provides a class for managing anonymous users.

Code

public function __construct($values = array()) {
  foreach ($values as $key => $value) {
    $this->$key = $value;
  }
}