kernel
[ class tree: kernel ] [ index: kernel ] [ all elements ]

Class: BitMailer

Source Location: /kernel/BitMailer.php

Class Overview

BitBase
   |
   --LibertyBase
      |
      --BitMailer

BitMailer


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: LibertyBase

LibertyBase::__construct()
Constructor building on BitBase object
LibertyBase::getLibertyClass()
given a content_type_guid this will return an object of the proper type
LibertyBase::getLibertyObject()
Given a content_id, this will return and object of the proper type
LibertyBase::getNewObject()
Simple method to create a given class with a specified content_id. The purpose of a method is to allow for derived classes to override as necessary.
LibertyBase::getNewObjectById()
Simple method to create a given class with a specified primary_id. The purpose of a method is to allow for derived classes to override as necessary.

Class: BitBase

BitBase::BitBase()
During initialisation, we assign a name which is used by the class.
BitBase::__construct()
BitBase::clearFromCache()
BitBase::expunge()
Delete content object and all related records
BitBase::load()
BitBase::__destruct()

Class Details

[line 39]
BitMailer



[ Top ]


Class Methods


method buildMailer [line 88]

void buildMailer( $pMessage)

Returns a PHPMailer with everything set except the recipients

$pMessage['subject'] - The subject $pMessage['message'] - The HTML body of the message $pMessage['alt_message'] - The Non HTML body of the message




Parameters:

   $pMessage  

[ Top ]

method sendEmail [line 50]

void sendEmail( $pSubject, $pBody, $pRecipients, [ $pHeaders = array()])

Sends an email to the specified recipients.

This is a convenience method for packages to be able to use the email sending features found in this package.

$pSubject - The Subject of the Email $pBody - The Body of the Email $pRecipients - An associative array with keys for email and optionally login and real_name




Parameters:

   $pSubject  
   $pBody  
   $pRecipients  
   $pHeaders  

[ Top ]


Documentation generated on Wed, 29 Jul 2015 13:55:53 +0000 by phpDocumentor 1.5.0-lsces