aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md')
-rw-r--r--vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md b/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md
new file mode 100644
index 000000000..9e55d8d0b
--- /dev/null
+++ b/vendor/smarty/smarty/docs/programmers/api-functions/api-get-cache-dir.md
@@ -0,0 +1,23 @@
+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()`](#api.set.cache.dir) and
+[`$cache_dir`](#variable.cache.dir).