Changes between Version 76 and Version 77 of S3/S3REST/s3_rest_controller
- Timestamp:
- 10/15/12 13:18:02 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v76 v77 244 244 - '''callable''' is the callback setting, see [#Callbacks Callbacks] 245 245 246 The {{{ondelete_cascade}}} callback is to perform cascade actions before deleting a record (e.g. to update or remove dependend records, or to release constraints that cannot be introspected). The hook will receive the ''record'' as its only parameter (note that it will only contain the record ID), its return value will be ignored.246 The {{{ondelete_cascade}}} callback is meant to perform cascade actions ''before'' deleting a record (e.g. to update or remove dependend records, or to release constraints that cannot be introspected using the "ondelete" field setting). The hook will receive the ''record'' as its only parameter, its return value will be ignored. 247 247 248 248 '''Note:''' the ''record'' will only contain the record ID but no details