Changes between Version 13 and Version 14 of Plugin_Hooks


Ignore:
Timestamp:
May 1, 2009 3:04:59 PM (4 years ago)
Author:
thomasb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Plugin_Hooks

    v13 v14  
    7878  * user_name 
    7979  * user_email 
     80  * alias 
    8081 
    8182 
     
    235236 
    236237 
     238=== create_contact === 
     239 
     240Triggered when an address book record is saved.[[BR]] 
     241A plugin can prevent the contact to be created by setting the {{{abort}}} field to true. The user is then rejected back to the input form. 
     242 
     243''Arguments:'' 
     244  * record: ''Hash array with record fields'' 
     245  * source: ''Address book identifier'' 
     246 
     247''Return values:'' 
     248  * record 
     249  * abort 
     250 
     251 
     252=== save_contact === 
     253 
     254Triggered when an address book record is saved.[[BR]] 
     255As in the ''create_contact'' hook this action can be aborted by setting the {{{abort}}} field to true. 
     256 
     257''Arguments:'' 
     258  * id 
     259  * record: ''Hash array with record fields'' 
     260  * source: ''Address book identifier'' 
     261 
     262''Return values:'' 
     263  * record 
     264  * abort 
     265 
     266 
     267=== delete_contact === 
     268 
     269Triggered when an address book record is to be deleted.[[BR]] 
     270To abort the deletion a plugin can set the {{{abort}}} field to true. 
     271 
     272''Arguments:'' 
     273  * id 
     274  * source: ''Address book identifier'' 
     275 
     276''Return values:'' 
     277  * abort 
     278 
     279 
     280 
    237281 
    238282---- 
     
    276320 
    277321 
     322=== create_identity === 
     323 
     324Triggered when a user attempts to create a new sender identity.[[BR]] 
     325A plugin can prevent the record to be created by setting the {{{abort}}} field to true. The user is then rejected back to the input form. 
     326 
     327''Arguments:'' 
     328  * record: ''Hash array with identity record fields'' 
     329 
     330''Return values:'' 
     331  * record 
     332  * abort 
     333 
     334 
     335=== save_identity === 
     336 
     337Triggered when a user changes one of his sender identities.[[BR]] 
     338As in the ''create_identity'' hook this action can be aborted by setting the {{{abort}}} field to true. 
     339 
     340''Arguments:'' 
     341  * id 
     342  * record: ''Hash array with identity record fields'' 
     343 
     344''Return values:'' 
     345  * record 
     346  * abort 
     347 
     348 
     349=== delete_identity === 
     350 
     351Triggered when a sender identity is to be deleted.[[BR]] 
     352To abort the deletion a plugin can set the {{{abort}}} field to true. 
     353 
     354''Arguments:'' 
     355  * id 
     356 
     357''Return values:'' 
     358  * abort 
     359 
     360 
    278361---- 
    279362