public function getKeyStr($hash = true)
    {
        $key =  $this->key . self::$INDEX_SEPERATOR . $this->groupId . self::$TAG_SEPERATOR . implode(self::$TAG_SEPERATOR, $this->gatherTags());
        if($hash) {
             $key = md5($key);
        }
        return $key;
    }
public function getKeyStr($hash = true)
    {
        $key =  $this->key . self::$INDEX_SEPERATOR . $this->groupId . self::$TAG_SEPERATOR . implode(self::$TAG_SEPERATOR, $this->gatherTags());
        if($hash) {
             $key = md5($key);
        }
        return $key;
    }
public function getKeyStr ( $ hash = true ) { $ key = $ this -> key . self :: $ INDEX_SEPERATOR . $ this -> groupId . self :: $ TAG_SEPERATOR . implode ( self :: $ TAG_SEPERATOR , $ this -> gatherTags ( ) ) ; if ( $ hash ) { $ key = md5 ( $ key ) ; } return $ key ; }
calculate composite key
@param bool $hash use true to return md5 (memcache friendly) key or use false to return raw key for visual inspection.
@return string
calculate composite key