public function initialise(cache_definition $definition) {
        $this->definition = $definition;
        $this->cacheprefix = $this->storeprefix.$definition->generate_definition_hash().'__';
        return true;
    }
public function initialise(cache_definition $definition) {
        $this->definition = $definition;
        $this->cacheprefix = $this->storeprefix.$definition->generate_definition_hash().'__';
        return true;
    }
public function initialise ( cache_definition $ definition ) { $ this -> definition = $ definition ; $ this -> cacheprefix = $ this -> storeprefix . $ definition -> generate_definition_hash ( ) . '__' ; return true ; }
Initialises a new instance of the cache store given the definition the instance is to be used for.

This function should prepare any given connections etc.

@param cache_definition $definition
@return bool
Initialises a new instance of the cache store given the definition the instance is to be used for .