function Notifications_Event::get_text in Notifications 6.4
Same name and namespace in other branches
- 7 notifications.event.inc \Notifications_Event::get_text()
Get event text if available
1 call to Notifications_Event::get_text()
- Notifications_Event::message_part in includes/
notifications_event.class.inc - Get message template for event
File
- includes/
notifications_event.class.inc, line 133 - Drupal Notifications Framework - Default class file
Class
- Notifications_Event
- Message destination class
Code
function get_text($key) {
if (isset($this->text[$key])) {
return $this->text[$key];
}
elseif (isset($this->params['text'][$key])) {
return $this->params['text'][$key];
}
}