post by musict on Jun 24, 2021
post by panv on Jun 24, 2021
@musict , I think what you need is pretty much self explanatory in the documentation. Obviously you are using GroceryCrud 1.x
I think (I didn’t try it) you should write your function as :
public function addWorkerDataBeforeUpdate($post_array, $primary_key) {
// use $primary_key
}
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Using `unsetPagination()` but limit is still applied |
|
3 | 619 | Apr 12 |
| [RESOLVED] Updated Grocery CRUD Enterprise from 3.2.4 to 3.2.7 |
|
1 | 842 | Jan 14 |
| Custom validation functions |
|
0 | 727 | Jan 22 |
| Function fieldType with parameter ‘multiselect_searchable’. and groupFields |
|
1 | 543 | Apr 9 |
| setRule - Validate doesn’t support more than 3 parameters |
|
0 | 603 | Feb 23 |
