abstract public store ( string $Key, mixed $Value, array $Options = [] ) : boolean | ||
$Key | string | Cache key used for storage. |
$Value | mixed | Value to be cached. |
$Options | array | An array of cache feature constants. - FEATURE_COMPRESS: Allows items to be internally compressed/decompressed (bool). - FEATURE_EXPIRY: Allows items to autoexpire (seconds). - FEATURE_NOPREFIX: Allows disabling usage of key prefix (bool). - FEATURE_FORCEPREFIX: Allows forcing alternate key prefix (string). - FEATURE_FALLBACK: Allows querying DB for missing keys, or firing a callback (see Gdn_Cache->Fallback). |
return | boolean | true on success or false on failure. |