class GroupCreate implements SubjectInterface (View source)

Properties

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

Methods

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

GroupCreateRequest constructor.

getGroup()

No description

int
getGID()

No description

setGID(int $gID)

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)

GroupCreateRequest constructor.

Parameters

Group $group
User $user

Exceptions

Exception

Group getGroup()

No description

Return Value

Group

int getGID()

No description

Return Value

int

GroupCreate setGID(int $gID)

No description

Parameters

int $gID

Return Value

GroupCreate

User getUser()

No description

Return Value

User

GroupCreate setUser(User $user)

No description

Parameters

User $user

Return Value

GroupCreate

DateTime getRequested()

No description

Return Value

DateTime

GroupCreate setRequested(DateTime $requested)

No description

Parameters

DateTime $requested

Return Value

GroupCreate

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[]