You are here

function Messaging_Message::method_invoke in Messaging 6.3

Invoke method callback with this message

3 calls to Messaging_Message::method_invoke()
Messaging_Message::method_process in classes/messaging_message.class.inc
Invoke multiple method callbacks
Messaging_Message::prepare in classes/messaging_message.class.inc
Prepare message for sending method, before rendering
Messaging_Message::render in classes/messaging_message.class.inc
Render the message for sending method

File

classes/messaging_message.class.inc, line 341
Drupal Messaging Framework - Default class file

Class

Messaging_Message
Message class

Code

function method_invoke($op) {
  $function = 'message_' . $op;
  if ($method = messaging_send_method($this->method)) {
    return $method
      ->{$function}($this);
  }
  else {
    $this
      ->set_error('Sending method not available');
  }
}