• PHP reference

Notification

class Notification

Create and send notifications.

Properties

string $body

integer $user

integer $time

integer $sender

integer $priority

string $source_type

integer $source

integer $community

string $type

mixed $context

array $attributes

Methods

__construct()

Notification constructor.

boolean send()

Send notification.

Return Value

  • boolean

Exceptions