Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Regarding orm $_condition cache
soseki
June 2017
Hell there,
Do you know how to clear $_conditions cache?
I tried following but it seems it dose not work at all.
unset(static::$_properties_cached[get_called_class()]);
unset(static::$_conditions[get_called_class()]);
unset(static::$_relations_cached[get_called_class()]);
Thank you
soseki
June 2017
Sorry...
It is working...
I was looking at wrong server.
Following source code is okay.
unset(static::$_conditions[get_called_class()]);
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
soseki
June 2017