You are here

static function Messaging_Method::text_render in Messaging 6.4

Composes message from different parts, recursively and applies filter

Filter is applied now only once

Parameters

$text: Simple string or array of message parts It may have named elements like #prefix and #text or it may be single strings to render straight forward

$glue: Text to glue all lines together

$filter: Input format to apply to the results

1 call to Messaging_Method::text_render()
Messaging_Method::default_render in includes/messaging_method.class.inc
Renders full message with header and body

File

includes/messaging_method.class.inc, line 128
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Method
Base class for all Incoming and Sending methods

Code

static function text_render($text, $glue = '', $format = NULL, $filter = NULL) {
  return messaging_text_render($text, $glue, $format, $filter);
}