XOOPS  2.6.0
functions.cache.php File Reference

Go to the source code of this file.

Namespaces

 Frameworks
 

Functions

 mod_clearCacheFile ($name="", $dirname=null)
 
 mod_clearFile ($name="", $dirname=null, $cache_path=null)
 
 mod_clearSmartyCache ($pattern="")
 
 mod_createCacheFile ($data, $name=null, $dirname=null)
 
 mod_createCacheFile_byGroup ($data, $name=null, $dirname=null, $groups=null)
 
 mod_createFile ($data, $name=null, $dirname=null, $cache_path=null)
 
 mod_generateCacheId ($groups=null)
 
 mod_generateCacheId_byGroup ($groups=null)
 
 mod_loadCacheFile ($name, $dirname=null)
 
 mod_loadCacheFile_byGroup ($name, $dirname=null, $groups=null)
 
 mod_loadFile ($name, $dirname=null, $cache_path=null)
 

Variables

 endif
 

Function Documentation

mod_clearCacheFile (   $name = "",
  $dirname = null 
)
Parameters
string$name
null | string$dirname
Returns
bool

Definition at line 175 of file functions.cache.php.

References $dirname, $name, and mod_clearFile().

Here is the call graph for this function:

mod_clearFile (   $name = "",
  $dirname = null,
  $cache_path = null 
)
Parameters
string$name
null | string$dirname
null | string$cache_path
Returns
bool

Definition at line 147 of file functions.cache.php.

References $dirname, $file, $files, $xoops, XoopsBaseConfig\get(), and Xoops\getInstance().

Referenced by mod_clearCacheFile().

Here is the call graph for this function:

Here is the caller graph for this function:

mod_clearSmartyCache (   $pattern = "")
Parameters
string$pattern
Returns
bool

Definition at line 184 of file functions.cache.php.

References $dirname, $file, $xoops, and Xoops\getInstance().

Here is the call graph for this function:

mod_createCacheFile (   $data,
  $name = null,
  $dirname = null 
)
Parameters
$data
null | string$name
null | string$dirname
Returns
bool

Definition at line 76 of file functions.cache.php.

References $dirname, $name, and mod_createFile().

Referenced by mod_createCacheFile_byGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

mod_createCacheFile_byGroup (   $data,
  $name = null,
  $dirname = null,
  $groups = null 
)
Parameters
$data
null | string$name
null | string$dirname
null | array$groups
Returns
bool

Definition at line 88 of file functions.cache.php.

References $dirname, $name, mod_createCacheFile(), and mod_generateCacheId_byGroup().

Here is the call graph for this function:

mod_createFile (   $data,
  $name = null,
  $dirname = null,
  $cache_path = null 
)
Parameters
$data
null | string$name
null | string$dirname
null | string$cache_path
Returns
bool

Definition at line 58 of file functions.cache.php.

References $dirname, $name, $xoops, XoopsBaseConfig\get(), Xoops\getInstance(), and Xoops\Core\Cache\Legacy\write().

Referenced by mod_createCacheFile().

Here is the call graph for this function:

Here is the caller graph for this function:

mod_generateCacheId (   $groups = null)
Parameters
null | array$groups
Returns
string

Definition at line 46 of file functions.cache.php.

References $groups, and mod_generateCacheId_byGroup().

Here is the call graph for this function:

mod_generateCacheId_byGroup (   $groups = null)
Parameters
null | array$groups
Returns
string

Definition at line 24 of file functions.cache.php.

References $groups, $xoops, XoopsBaseConfig\get(), and Xoops\getInstance().

Referenced by mod_createCacheFile_byGroup(), mod_generateCacheId(), and mod_loadCacheFile_byGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

mod_loadCacheFile (   $name,
  $dirname = null 
)
Parameters
$name
null | string$dirname
Returns
mixed|null

Definition at line 121 of file functions.cache.php.

References $dirname, $name, and mod_loadFile().

Here is the call graph for this function:

mod_loadCacheFile_byGroup (   $name,
  $dirname = null,
  $groups = null 
)
Parameters
$name
null | string$dirname
null | array$groups
Returns
mixed|null

Definition at line 133 of file functions.cache.php.

References $dirname, $name, mod_generateCacheId_byGroup(), and mod_loadFile().

Here is the call graph for this function:

mod_loadFile (   $name,
  $dirname = null,
  $cache_path = null 
)
Parameters
$name
null | string$dirname
null | string$cache_path
Returns
mixed|null

Definition at line 100 of file functions.cache.php.

References $dirname, $name, $xoops, Xoops\getInstance(), and Xoops\Core\Cache\Legacy\read().

Referenced by mod_loadCacheFile(), and mod_loadCacheFile_byGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

endif

Definition at line 204 of file functions.cache.php.