You are here

function Messaging_Message::get_params in Messaging 7

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::get_params()
  2. 6.3 classes/messaging_message.class.inc \Messaging_Message::get_params()

Get generic parameters

File

./messaging.message.inc, line 569
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

function get_params($key = NULL) {
  if ($key) {
    return isset($this->params[$key]) ? $this->params[$key] : array();
  }
  else {
    return isset($this->params) ? $this->params : array();
  }
}