Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Regarding orm $_condition cache
  • 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 
  • Sorry...
    It is working...
    I was looking at wrong server.

    Following source code is okay.
    unset(static::$_conditions[get_called_class()]); 

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion