Changes between Version 69 and Version 70 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
12/03/11 22:07:55 (13 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v69 v70  
    230230This allows you to define a common onaccept callback for both ''create'' and ''update''.
    231231
    232 The {{{onaccept}}} callbacks are meant to perform extra post-processing of the newly created/updated record (e.g. to update dependent records). The callback functions receive the respective '''record''' as first and only parameter, while their return value will be ignored.
     232The {{{onaccept}}} callbacks are meant to perform extra post-processing of the newly created/updated record (e.g. to update dependent records). The callback functions receive the respective FORM instance (with the input data being in form.vars) as first and only parameter, while their return value will be ignored.
    233233
    234234==== On-Delete Callback ====