You are here

interface Messaging_Message_Render in Messaging 7

Interface for all message templates

Hierarchy

Expanded class hierarchy of Messaging_Message_Render

All classes that implement Messaging_Message_Render

File

./messaging.text.inc, line 9
Basic message templates and theming

View source
interface Messaging_Message_Render {

  /**
   * Add item of unknown type
   */
  public function add_element($name, $element);

  /**
   * Build message parts as renderable array
   */
  public function build();

  /**
   * Render message parts
   */
  public function render();

  /**
   * Set text format
   */
  public function set_format($format);

  /**
   * Set single option
   */
  public function set_option($name, $value = TRUE);

  /**
   * Set message destination
   */
  public function set_destination($destination);

  /**
   * Set sending method
   */
  public function set_method($method);

}

Members

Namesort descending Modifiers Type Description Overrides
Messaging_Message_Render::add_element public function Add item of unknown type 1
Messaging_Message_Render::build public function Build message parts as renderable array 1
Messaging_Message_Render::render public function Render message parts 1
Messaging_Message_Render::set_destination public function Set message destination 2
Messaging_Message_Render::set_format public function Set text format 2
Messaging_Message_Render::set_method public function Set sending method 2
Messaging_Message_Render::set_option public function Set single option 1