public function Messaging_Template::token_replace in Messaging 7
Do token replacement with this template's objects
1 call to Messaging_Template::token_replace()
- Messaging_Template::element_replace in messaging_template/
messaging_template.inc - Perform token replace within an element
File
- messaging_template/
messaging_template.inc, line 387 - Drupal Messaging Framework - Text filtering functions
Class
- Messaging_Template
- Base template class
Code
public function token_replace($text, $options = array()) {
return token_replace($text, $this
->get_objects(), $options + $this
->get_options());
}