original_string: function ClearCache($type = null, $id = null) {
  		if (!$type) { // Clear everything
  			$this->_cache = array();
  		} elseif (!$id) { // Clear on section
  			$this->_cache[$type] = array();
  		} else { // Clear a specific type/id combination
  			$this->SetCache($type, $id, null);
  		}
  	}
code: function ClearCache($type = null, $id = null) {
  		if (!$type) { // Clear everything
  			$this->_cache = array();
  		} elseif (!$id) { // Clear on section
  			$this->_cache[$type] = array();
  		} else { // Clear a specific type/id combination
  			$this->SetCache($type, $id, null);
  		}
  	}
code_tokens: function ClearCache ( $ type = null , $ id = null ) { if ( ! $ type ) { // Clear everything $ this -> _cache = array ( ) ; } elseif ( ! $ id ) { // Clear on section $ this -> _cache [ $ type ] = array ( ) ; } else { // Clear a specific type/id combination $ this -> SetCache ( $ type , $ id , null ) ; } }
docstring: Clears the cache of a specific item, type or entirely
  @param string|null $type Either the type of cache item to clear or null (in which case the entire cache is cleared)
  @param string|null $id Either the ID of the item to clear or null (in which case all cached items for the given $type is cleared)
docstring_tokens: Clears the cache of a specific item type or entirely