Changeset 2363 in subversion


Ignore:
Timestamp:
Mar 26, 2009 2:58:29 PM (4 years ago)
Author:
thomasb
Message:

Add hook for message loading. This allows a plugin to retrieve specific data from the message currently displayed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-api/program/include/rcube_message.php

    r2135 r2363  
    8585      $this->body = $this->imap->get_body($uid); 
    8686    } 
     87     
     88    // notify plugins and let them analyze this structured message object 
     89    $this->app->plugins->exec_hook('message_load', array('object' => $this)); 
    8790  } 
    8891   
Note: See TracChangeset for help on using the changeset viewer.