PHP Classes

File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md   Download  
File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md
Role: Example script
Content type: text/markdown
Description: Example script
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 2 months ago
Size: 346 bytes
 

Contents

Class file image Download

getCacheDir()

return the directory where the rendered template\'s output is stored

Description

string

getCacheDir

<?php

// get directory where compiled templates are stored
$cacheDir = $smarty->getCacheDir();

?>

   

See also setCacheDir() and $cache_dir.