Function Persistent_caching_xcache->set

Definitions

sources/persistent_caching/xcache.php

  • Put data into the persistent cache.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$key string required parameter N/A N/A Key
$data mixed required parameter N/A N/A The data
$flags integer 0 N/A N/A Various flags (parameter not used)
$expire_secs ?integer Null N/A N/A The expiration time in seconds (null: no expiry)