/** * Clear the cache for the object */ public function clearCache() { FileUtility::deleteFilesMatchingWildcard(Application::CACHE . 'dbobject_cache_*'); }
function clearFieldCache() { FileUtility::deleteFilesMatchingWildcard(Application::CACHE . 'field_cache_*'); }