You are here

public function Invite::setUser in Invite 7.4

Sets a new user owning this profile.

Parameters

$account: The user account object or the user account id (uid).

1 call to Invite::setUser()
Invite::__construct in includes/invite.controller.inc

File

includes/invite.controller.inc, line 166

Class

Invite
Invite class.

Code

public function setUser($account) {
  $this->uid = is_object($account) ? $account->uid : $account;
}