Welcome Guest, Not a member yet? Register   Sign In
$this->db->cache_delete('controller', '*');
#1

[eluser]jstrebel[/eluser]
Will the cache_delete function accept a wildcard *, or at least a regular expression of some sort?

I would like to delete all the caches files created from 1 controller, but not every cache from all controllers... as delete_all() would.

IN this case the 2nd uri segment is remapped to one of hundreds of tag names, like /ideas/bar /ideas/foo

Thanks.


Messages In This Thread
$this->db->cache_delete('controller', '*'); - by El Forum - 01-01-2009, 08:36 AM
$this->db->cache_delete('controller', '*'); - by El Forum - 01-01-2009, 08:30 PM
$this->db->cache_delete('controller', '*'); - by El Forum - 01-02-2009, 06:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB