You are here

function Messaging_Template::add_element in Messaging 7

Add element ready for drupal_render()

3 calls to Messaging_Template::add_element()
Messaging_Template::add_item in messaging_template/messaging_template.inc
Add item of unknown type
Messaging_Template::add_string in messaging_template/messaging_template.inc
Add string
Messaging_Template::add_text in messaging_template/messaging_template.inc
Add text object

File

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

Class

Messaging_Template
Base template class

Code

function add_element($name, $element) {
  $this->text[$name] = $element;
  return $this;
}