$procache->getCacheClearBehaviors() method

Get the cache clearing behaviors for all templates or a given template

Usage

// basic usage
$array = $procache->getCacheClearBehaviors();

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

Arguments

NameType(s)Description
options (optional)null, Template, string, int, array

Return value

array


$procache methods and properties

API reference based on ProcessWire core version 3.0.244

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits