Previous Page
locale()

Solar_Cache_Adapter_Eaccelerator
save()

Next Page
setActive()

save()

public bool save ( string $key, mixed $data )

Sets cache entry data.

Parameters

  • (string) $key: The entry ID.
  • (mixed) $data: The data to write into the entry.

Returns

  • (bool) True on success, false on failure.

Description

Sets cache entry data.

eAccelerator doesn't serialize object, so you need to do it yourself or php will segfault on object retrieval.