Call multiple function in callback Models |
What happens if you try it? Also, the type is specified as an array
when I tried it, it work properly.
the problem is I couldn't access the $data passed in the saveJob2 function, and then I dumped it the contents is null. but in saveJob1 $data param can be accessed and processed see : https://imgur.com/a/fi7GwKX
What did you do in the first event? If you have completed the request, most likely the data will be reset
in the first event I only saved the data in tables that were related to the main table. See https://imgur.com/PUFlL52
(05-15-2024, 12:46 AM)kenjis Wrote: Read https://codeigniter.com/user_guide/model...-callbacks omg, i really never read this section before. Thanks @kenjis |
Welcome Guest, Not a member yet? Register Sign In |