|
@@ -762,6 +762,10 @@ PUT http://localhost/api.php/categories/2
|
762
|
762
|
Before any operation the 'before' function is called that allows you to do set some automatic fields.
|
763
|
763
|
Note that the 'inputs' parameter is writable and is an array. The array may contain NULL values on invalid JSON.
|
764
|
764
|
|
|
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
|
+
|
765
|
769
|
## Custom actions
|
766
|
770
|
|
767
|
771
|
After any operation the 'after' function is called that allows you to do some custom actions.
|