Welcome Guest, Not a member yet? Register   Sign In
Overriding DB class
#1

[eluser]Amir Bukhari[/eluser]
I have alot of models which use database and also I plan to use the cache.
I want to delete the cache complately when when data inserted/updated/deleted. I dont want to make changes to DB classes of codeigniter, so that i can update the system without conserning about changes.

Is there a way to overide the update/insert/delete method of DB class, so that I can call cache delete function?




Theme © iAndrew 2016 - Forum software by © MyBB