Inherits DataItem.
Definition at line 9 of file event_invitation.inc.
◆ __construct()
EventInvitation::__construct |
( |
| ) |
|
Definition at line 55 of file event_invitation.inc.
57 $this->table =
"event_invitation";
58 $this->primary_key =
"event_invitation_id";
59 $this->DataItem(func_get_args());
◆ create()
static EventInvitation::create |
( |
& |
$event | ) |
|
|
static |
Definition at line 37 of file event_invitation.inc.
42 $invitation->event_id =
$event->event_id;
43 $invitation->sender_email =
$user->email;
44 $invitation->sender_name =
$user->format(
"{first_name} {last_name}");
45 $invitation->subject =
Settings::getValue(
"settings",
"sitename") .
" Event Invitation: {$event->title}";
48 $event->event_invitation_id = $invitation->event_invitation_id;
49 $event->filter =
new InclusionFilter(
"event_invitation_id");
static getValue($component, $name)
Retrieve the value of the specified Setting.
◆ Event()
EventInvitation::Event |
( |
| ) |
|
◆ Recipients()
EventInvitation::Recipients |
( |
|
$constraint = "" | ) |
|
◆ $fields
Initial value:= array(
"event_invitation_id" => Number,
"event_id" => Number,
"sender_email" => String,
"sender_name" => String,
"subject" => String,
"message" => HTML,
"sequence_id" => Number,
)
Definition at line 11 of file event_invitation.inc.
◆ $relations
EventInvitation::$relations |
The documentation for this class was generated from the following file: