class GroupRoleChange implements SubjectInterface (View source)

Properties

protected int $id
protected int $notifications
protected int $gID
protected int $grID
protected User $user
protected DateTime $requested

Methods

__construct(Group $group = null, User $user = null, GroupRole $role = null)

GroupSignupRequest constructor.

getGroup()

No description

getRole()

No description

int
getGID()

No description

setGID(int $gID)

No description

int
getGrID()

No description

setGrID(int $grID)

No description

getUser()

No description

setUser(User $user)

No description

getRequested()

No description

setRequested(DateTime $requested)

No description

getNotificationDate()

Get the date of this notification

User[]
getUsersToExcludeFromNotification()

Get the users that should be excluded from notifications Expected return value would be users involved in the creation of the notification, they may not need to be notified.

Details

__construct(Group $group = null, User $user = null, GroupRole $role = null)

GroupSignupRequest constructor.

Parameters

Group $group
User $user
GroupRole $role

Exceptions

Exception

Group getGroup()

No description

Return Value

Group

getRole()

No description

int getGID()

No description

Return Value

int

GroupSignup setGID(int $gID)

No description

Parameters

int $gID

Return Value

GroupSignup

int getGrID()

No description

Return Value

int

GroupRoleChange setGrID(int $grID)

No description

Parameters

int $grID

Return Value

GroupRoleChange

User getUser()

No description

Return Value

User

GroupSignup setUser(User $user)

No description

Parameters

User $user

Return Value

GroupSignup

DateTime getRequested()

No description

Return Value

DateTime

GroupSignup setRequested(DateTime $requested)

No description

Parameters

DateTime $requested

Return Value

GroupSignup

DateTime getNotificationDate()

Get the date of this notification

Return Value

DateTime

User[] getUsersToExcludeFromNotification()

Get the users that should be excluded from notifications Expected return value would be users involved in the creation of the notification, they may not need to be notified.

Return Value

User[]