$users
$users : array<mixed,string>
The user ids (usernames).
setUsers(array|string|null $users) : \Charcoal\Admin\Object\Notification
array|string|null | $users | The users (username) of this notifications. |
If the users are not an array or a comma-separated string.
Chainable
setTargetTypes(array|string|null $targetTypes) : \Charcoal\Admin\Object\Notification
array|string|null | $targetTypes | The targetTypes of this notifications. |
If the types are not an array or a comma-separated string.
Chainable
setExtraEmails(array|string|null $extraEmails) : \Charcoal\Admin\Object\Notification
array|string|null | $extraEmails | The targetTypes of this notifications. |
If the emails are not an array or a comma-separated string.
Chainable
setFrequency(string $frequency) : \Charcoal\Admin\Object\Notification
string | $frequency | The frequency mode of this notification. |
If the frequency is not a valid mode.
Chainable
setActive(boolean $active) : \Charcoal\Admin\Object\Notification
boolean | $active | The active flag. |
Chainable