You are here

function Messaging_Template::add_text in Messaging 7

Add text object

1 call to Messaging_Template::add_text()
Messaging_Template::add_item in messaging_template/messaging_template.inc
Add item of unknown type

File

messaging_template/messaging_template.inc, line 138
Drupal Messaging Framework - Text filtering functions

Class

Messaging_Template
Base template class

Code

function add_text($name, $text) {
  $text
    ->set_parent($this);
  return $this
    ->add_element($name, $text);
}