/** * Resets the internal cache for various things that are needed on a * per-query basis. */ protected static function _reset_cache() { self::$_query = ''; self::$_query_type = ''; self::$_where = array(); self::$_variable_binds = array(); self::$_query_data = array(); }