Skip to content

Commit 65f052a

Browse files
authored
Update README.md
1 parent f5a2c56 commit 65f052a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,10 @@ PUT http://localhost/api.php/categories/2
762762
Before any operation the 'before' function is called that allows you to do set some automatic fields.
763763
Note that the 'inputs' parameter is writable and is an array. The array may contain NULL values on invalid JSON.
764764

765+
## Soft delete
766+
767+
The 'before' function allows modification of the request parameters and can (for instance) be used to implement soft delete behavior.
768+
765769
## Custom actions
766770

767771
After any operation the 'after' function is called that allows you to do some custom actions.

0 commit comments

Comments
 (0)