function dmemcache_serialize in Memcache API and Integration 7
Return proper serialize function.
2 calls to dmemcache_serialize()
- memcache_admin_stats in memcache_admin/
memcache_admin.module - Callback for the Memcache Stats page.
- _dmemcache_set_pieces in ./
dmemcache.inc - Split a large item into pieces and place them into memcache
File
- ./
dmemcache.inc, line 773 - A memcache API for Drupal.
Code
function dmemcache_serialize() {
switch (dmemcache_serialize_extension()) {
case 'igbinary':
return 'igbinary_serialize';
case 'msgpack':
return 'msgpack_pack';
default:
return 'serialize';
}
}