You are here

public function apply_for_role_application::__construct in Apply for role 8

File

src/application_manager.php, line 303
Contains two classes.

Class

apply_for_role_application
Definition of a singular apply for role application, as used by application manager and potentially beyond.

Namespace

Drupal\apply_for_role

Code

public function __construct($aid, $uid, $rids = NULL, $status = 0, $created = NULL, $message = NULL) {
  $this->aid = $aid;
  $this->uid = $uid;
  $this->rids = $rids;
  $this->status = $status;
  $this->created = $created ? $created : time();
  $this->message = $message;
}