Welcome Guest, Not a member yet? Register   Sign In
How do I overwrite the protected table in Model?
#2

You are going to completely wrong way.
The $table in the CodeIgniter\Model is the main table for the model.
You should not change it at runtime and do not need to do it.

Why don't you have UserModel and StaffModel?
Reply


Messages In This Thread
RE: How do I overwrite the protected table in Model? - by kenjis - 01-25-2022, 07:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB