12 "event_invitation_id" => Number,
14 "sender_email" => String,
15 "sender_name" => String,
18 "sequence_id" => Number,
23 "Recipients" => EventRecipient,
29 return $this->getRelated(
Event);
34 return $this->getRelatedList(EventRecipient,
"",
$constraint);
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");
57 $this->table =
"event_invitation";
58 $this->primary_key =
"event_invitation_id";
59 $this->DataItem(func_get_args());
Recipients($constraint="")
static using()
Import the datamodels, views and manifest for the specified component(s).
static getValue($component, $name)
Retrieve the value of the specified Setting.