Mailman
extends Component
in package
implements
ISingleton
Uses
TSingleton
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $instance : ISingleton
- $callback_skin_domain_api_url : string
- $emails : ArrayObject
- $hashCode : int
- $hashCounter : int
- $headers : array<string|int, mixed>
- $mailer : PHPMailer
- $mailing_config : mixed
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- addEmail() : void
- addEmails() : void
- deliver() : int
- extends() : bool
- getInstance() : ISingleton
- getReflection() : ReflectionClass
- init() : mixed
- addAttachments() : void
- addBcc() : void
- addBccs() : void
- addCc() : void
- addCcs() : void
- addCustomHeader() : mixed
- addRecipient() : void
- addRecipients() : void
- addReplyTo() : void
- addReplyTos() : void
- mailingUserExists() : bool
Properties
$instance
protected
static ISingleton
$instance
$callback_skin_domain_api_url
private
string
$callback_skin_domain_api_url
$emails
private
ArrayObject
$emails
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$headers
private
static array<string|int, mixed>
$headers
= array("MIME-Version" => "1.0", "Content-type" => "text/html; charset=utf-8", "X-Mailer: PHP/" => _PHP_VERSION_, "X-WOLFGANG-VERSION: " => WOLFGANG_VERSION)
$mailer
private
PHPMailer
$mailer
$mailing_config
private
mixed
$mailing_config
= []
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
addEmail()
public
addEmail(IMessage &$email) : void
Parameters
- $email : IMessage
addEmails()
public
addEmails(ArrayObject $emails) : void
Parameters
- $emails : ArrayObject
deliver()
public
deliver([callable|null $email_callback = null ]) : int
Parameters
- $email_callback : callable|null = null
Tags
Return values
intextends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetInstance()
public
static getInstance() : ISingleton
Return values
ISingletongetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassinit()
protected
init() : mixed
addAttachments()
private
addAttachments(ArrayObject $attachments) : void
Parameters
- $attachments : ArrayObject
addBcc()
private
addBcc(IEmailContact $email_contact) : void
Parameters
- $email_contact : IEmailContact
addBccs()
private
addBccs(array<string|int, mixed> $bccs) : void
Parameters
- $bccs : array<string|int, mixed>
addCc()
private
addCc(IEmailContact $email_contact) : void
Parameters
- $email_contact : IEmailContact
addCcs()
private
addCcs(array<string|int, mixed> $ccs) : void
Parameters
- $ccs : array<string|int, mixed>
addCustomHeader()
private
addCustomHeader(string $name, string $value) : mixed
Parameters
- $name : string
- $value : string
addRecipient()
private
addRecipient(IEmailContact|string $email_contact) : void
Parameters
- $email_contact : IEmailContact|string
addRecipients()
private
addRecipients(array<string|int, mixed> $recipients) : void
Parameters
- $recipients : array<string|int, mixed>
addReplyTo()
private
addReplyTo(IEmailContact|string $email_contact) : void
Parameters
- $email_contact : IEmailContact|string
addReplyTos()
private
addReplyTos(array<string|int, mixed> $reply_tos) : void
Parameters
- $reply_tos : array<string|int, mixed>
mailingUserExists()
private
mailingUserExists(string $user[, array<string|int, mixed> &$user_config_values = null ]) : bool
Parameters
- $user : string
- $user_config_values : array<string|int, mixed> = null