Changes between Version 7 and Version 8 of S3/S3Audit


Ignore:
Timestamp:
08/20/14 12:21:13 (7 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Audit

    v7 v8  
    1818}}}
    1919
    20 Alternatively, these settings can take a callback function with the signature:
     20Alternatively, these settings can take a callback function that ''returns'' True or False in order to determine whether the action will be logged or not (True=log the action, False=do not log), thus allowing granular control about which actions are recorded.
    2121
     22The callback function has the signature:
    2223{{{#!python
    2324def audit_callback(method, tablename, form, record, representation):
    2425}}}
    25 
    26 It takes the following parameters:
    2726
    2827||=Parameter=||=Explanation=||
     
    3332
    3433
    35 The callback function is to return True or False determining whether the action will be logged or not (True=log the action, False=do not log), thus allowing granular control about which actions are recorded.
    3634== Hooks ==
    3735