Class PlgSystemMatukioccnewsletter

since 5.2
package MatukioEvents

 Methods

Here we will subscribe the user to ccNewsletter

onAfterBookingSave(string $context, object $booking, object $event) : boolean

Parameters

$context

string
  • the context we are at

$booking

object
  • the booking object

$event

object
  • the event object

Returns

booleantrue

Ads a subscriber to a group

addToGroups(integer $id, array $groups) : void

Parameters

$id

integer
  • the subscriber id

$groups

array
  • array with groups to add the user to#

Get the subscriber id

getSubscriberid(string $email) : boolean

Parameters

$email

string
  • the subscriber email

Returns

boolean