Docs Goabase

NewsletterSubscribe
in package
uses TraitDataWrite

Table of Contents

Properties

$dataWrite  : DataWrite

Methods

__construct()  : mixed
getDataWriteInstance()  : DataWrite
submitNewsletter()  : void
Submits the newsletter with the given parameters.
writeCountries()  : bool
writeFilter()  : bool
writeFlag()  : string

Properties

Methods

submitNewsletter()

Submits the newsletter with the given parameters.

public submitNewsletter([int $flagMail = 0 ][, array<string|int, mixed> $saField = [] ][, array<string|int, mixed> $saCountry = [] ][, array<string|int, mixed> $pageData = [] ]) : void
Parameters
$flagMail : int = 0

The flag for sending mail. Default is 0.

$saField : array<string|int, mixed> = []

The filters for the newsletter. Default is an empty array.

$saCountry : array<string|int, mixed> = []

The countries for the newsletter. Default is an empty array.

$pageData : array<string|int, mixed> = []
Attributes
#[NoReturn]

writeCountries()

private writeCountries(array<string|int, mixed> $naCountryID) : bool
Parameters
$naCountryID : array<string|int, mixed>
Return values
bool

writeFilter()

private writeFilter([array<string|int, mixed> $saField = [] ]) : bool
Parameters
$saField : array<string|int, mixed> = []
Return values
bool

writeFlag()

private writeFlag([string $flagEmail = '0' ]) : string
Parameters
$flagEmail : string = '0'
  • 0,1 als string
Return values
string

        
On this page

Search results