interface Messaging_Message_Template in Messaging 6.3
@file Drupal Messaging Framework - Messaging Template
Hierarchy
- interface \Messaging_Message_Template
Expanded class hierarchy of Messaging_Message_Template
All classes that implement Messaging_Message_Template
File
- classes/
messaging_message_template.class.inc, line 6 - Drupal Messaging Framework - Messaging Template
View source
interface Messaging_Message_Template {
/**
* Build a new message for method, destination
*
* @param $method
* Sending method
* @param $language
* Language code
* @return Messaging_Message
* Message built for method, language
*/
public function build($method = NULL, $language = NULL);
/**
* Get subject message parts
*
* @param $method
* Sending method
* @param $language
* Language code
* @return string or array()
* Subject text or text parts for rendering
*/
function get_subject($method = NULL, $language = NULL);
/**
* Get body parts
*
* @param $method
* Sending method
* @param $language
* Language code
* @return string or array()
* Body text or text parts for renderin
*/
function get_body($method = NULL, $language = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Messaging_Message_Template:: |
public | function | Build a new message for method, destination | 1 |
Messaging_Message_Template:: |
function | Get body parts | 1 | |
Messaging_Message_Template:: |
function | Get subject message parts | 1 |