/** * Override to add passing in type */ public function __construct($model, $userId, $metadata, $type) { assert('$type == MissionsListConfigurationForm::LIST_TYPE_CREATED || $type == MissionsListConfigurationForm::LIST_TYPE_AVAILABLE || $type == MissionsListConfigurationForm::LIST_TYPE_MINE_TAKEN_BUT_NOT_ACCEPTED'); parent::__construct($model, $userId, $metadata); $this->type = $type; }
/** * Override to add passing in listId */ public function __construct($model, $userId, $metadata, $listId) { parent::__construct($model, $userId, $metadata); $this->listId = $listId; }
/** * Override to add passing in type */ public function __construct($model, $userId, $metadata) { parent::__construct($model, $userId, $metadata); }
/** * Override to add passing in type */ public function __construct($model, $userId, $metadata, $type) { assert('$type == self::LIST_TYPE_CREATED || $type == self::LIST_TYPE_PARTICIPANT || $type == self::LIST_TYPE_CLOSED'); parent::__construct($model, $userId, $metadata); $this->type = $type; }