Horde_Kolab_Storage_Cache::_getDataId PHP Method

_getDataId() private method

Compose the data key.
private _getDataId ( array $data_params ) : string
$data_params array Return the data ID for a data set with these parameters.
return string The data cache ID.
    private function _getDataId($data_params)
    {
        foreach (array('host', 'port', 'prefix', 'folder', 'type', 'owner') as $key) {
            $this->requireParameter($data_params, 'data', $key);
        }
        ksort($data_params);
        return md5(serialize($data_params));
    }