ProCacheStatic::static method

Get cache clear behaviors as string

Usage

// basic usage
$string = $procache->static->getCacheClearBehaviorsStr();

// usage with all arguments
$string = $procache->static->getCacheClearBehaviorsStr(array $options = []);

Arguments

NameType(s)Description
$options (optional)array
  • useAbbrs (bool): Use behavior abbreviations rather than numbers? Default:true
  • useTemplateIDs (bool): Include template IDs in definition? i.e. "basic-page(10)=behaviors" Default:false
  • useComments (bool): Use commented lines to indicate templates without custom definitions? Default:false
  • cacheClearCustom (string|null): Cache custom clear behaviors string to use rather than default Default:null

Return value

string


$procache->static methods and properties

API reference based on ProcessWire core version 3.0.252