Function __global->has_caching_for

Definitions

sources/caches.php

  • Check to see if caching is enabled.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$type string required parameter N/A N/A Cache type
$name ?string Null N/A N/A The name (filename? codename?) of what we are using the cache for, so we can support low-level cache avoidance via URL parameter (null: none)

Return

  • Whether it has the caching
  • Type: boolean
  • Set: N/A
  • Range: N/A

sources/minikernel.php

  • Check to see if caching is enabled.(In minikernel, this always returns true).
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$type string required parameter N/A N/A Cache type
$name ?string Null N/A N/A The name (filename? codename?) of what we are using the cache for, so we can support low-level cache avoidance via URL parameter (null: none)

Return

  • Whether it has the caching
  • Type: boolean
  • Set: N/A
  • Range: N/A