Gdn_Cache::registerFeature PHP Méthode

registerFeature() public méthode

FEATURE_COMPRESS: this cache can compress and decompress values on the fly FEATURE_TIMEOUT: this cache can timeout while reading / writing FEATURE_EXPIRY: this cache can expire keys
public registerFeature ( integer $Feature, mixed $Meta = true )
$Feature integer One of the feature constants.
$Meta mixed An optional data to return when calling HasFeature. default true.
    public function registerFeature($Feature, $Meta = true)
    {
        $this->features[$Feature] = $Meta;
    }