public static function ActiveEnabled($ForceEnable = FALSE) {
      $AllowCaching = FALSE;
      
      if (defined('CACHE_ENABLED_OVERRIDE'))
         $AllowCaching |= CACHE_ENABLED_OVERRIDE;
         
      $AllowCaching |= C('Cache.Enabled', FALSE);
      $AllowCaching |= $ForceEnable;
      
      return (bool)$AllowCaching;
   }
public static function ActiveEnabled($ForceEnable = FALSE) {
      $AllowCaching = FALSE;
      
      if (defined('CACHE_ENABLED_OVERRIDE'))
         $AllowCaching |= CACHE_ENABLED_OVERRIDE;
         
      $AllowCaching |= C('Cache.Enabled', FALSE);
      $AllowCaching |= $ForceEnable;
      
      return (bool)$AllowCaching;
   }
public static function ActiveEnabled ( $ ForceEnable = FALSE ) { $ AllowCaching = FALSE ; if ( defined ( 'CACHE_ENABLED_OVERRIDE' ) ) $ AllowCaching |= CACHE_ENABLED_OVERRIDE ; $ AllowCaching |= C ( 'Cache.Enabled' , FALSE ) ; $ AllowCaching |= $ ForceEnable ; return ( bool ) $ AllowCaching ; }
Get the status of the active cache

Return whether or not the current cache method is enabled.

@param type $ForceEnable
@return bool status of active cache
Get the status of the active cache