You are here

function message_data_type_message_instance::get_identifier in Message 6

Gets the identifier of this data, which can be of every php data type - even an array. Implement it, if your data type is identifiable.

Overrides rules_data_type::get_identifier

File

includes/message.rules.inc, line 69
Rules integration for the Message module.

Class

message_data_type_message_instance
Defines the message instance data type.

Code

function get_identifier() {
  $message_instance =& $this
    ->get();
  return $message_instance->iid;
}