samples/PhotoAlbum/lib/rb.php
public function flush($type) {
		if (isset($this->cache[$type])) $this->cache[$type]=array();
		return $this;
	}
public function flush($type) {
		if (isset($this->cache[$type])) $this->cache[$type]=array();
		return $this;
	}
public function flush ( $ type ) { if ( isset ( $ this -> cache [ $ type ] ) ) $ this -> cache [ $ type ] = array ( ) ; return $ this ; }
Flushes the cache for a given type.

@param string $type

@return RedBean_Plugin_Cache
Flushes the cache for a given type .