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

Constructor for an anonymous user object.

File

includes/anonymous.inc, line 23

Class

AnonymousUser
Provides a class for managing anonymous users.

Code

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