You are here

protected function Messaging_Message::process_step in Messaging 7

Run operations on message for current method if not done before

Parameters

$step: Name of operation, the method invoked will be do_$step

1 call to Messaging_Message::process_step()
Messaging_Message::process in ./messaging.message.inc
Run operations on message for current method if not done before

File

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

Class

Messaging_Message
Message class

Code

protected function process_step($step) {
  while ($this
    ->process_todo($step) && $this
    ->check_status()) {
    $method = $this->method;
    $function = 'do_' . $step;
    $success = $this
      ->{$function}();
    $this
      ->process_done($step, $success, $method);
  }
  return $this
    ->process_result($step);
}