Documentation

SendmailModel
in package

Tags
addtogroup

singletons Group of Singletons

@{

Table of Contents

Properties

$headers  : mixed
$headers_string  : mixed
$parameters  : mixed
$_instance  : Singleton

Methods

_send_mail0()  : mixed
_send_mail_from_news()  : mixed
getInstance()  : Singleton
Méthode qui crée l'unique instance de la classe si elle n'existe pas encore puis la retourne.
__construct()  : void
Class constructor

Properties

$headers

public static mixed $headers = array('default' => array('From' => '%nwc_from%', 'Reply-To' => '%nwc_from%', 'Content-Type' => 'text/html; charset=UTF-8'))

$headers_string

public static mixed $headers_string = array('default' => "From: %nwc_from%\r\nReply-To: %nwc_from%\r\nContent-Type: text/html; ; charset=UTF-8")

$parameters

public static mixed $parameters = array('default' => '-f %nwc_from%')

$_instance

private static Singleton $_instance = \NULL
Tags
access

private

static

Methods

_send_mail0()

public static _send_mail0(mixed $mailprofile, mixed $to[, mixed $severity = BaseModel::_SEVERITY_OK ][, mixed $locale = 'en' ][, mixed $row = array() ]) : mixed
Parameters
$mailprofile : mixed
$to : mixed
$severity : mixed = BaseModel::_SEVERITY_OK
$locale : mixed = 'en'
$row : mixed = array()

_send_mail_from_news()

public static _send_mail_from_news(mixed $new_pk[, mixed $to = NULL ][, mixed $locale = 'en' ][, mixed $row = array() ]) : mixed
Parameters
$new_pk : mixed
$to : mixed = NULL
$locale : mixed = 'en'
$row : mixed = array()

getInstance()

Méthode qui crée l'unique instance de la classe si elle n'existe pas encore puis la retourne.

public static getInstance() : Singleton
Return values
Singleton

__construct()

Class constructor

private __construct() : void

        
On this page

Search results