From d818812d62e886fc4a160a65b05b33bdb424b3ca Mon Sep 17 00:00:00 2001 From: pete_morgan Date: Sat, 18 Feb 2006 11:53:24 +0000 Subject: [PATCH] minor tweaks --- docs/en/programmers/caching/caching-groups.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/en/programmers/caching/caching-groups.xml b/docs/en/programmers/caching/caching-groups.xml index 29a7fff3..a3ff0ddc 100644 --- a/docs/en/programmers/caching/caching-groups.xml +++ b/docs/en/programmers/caching/caching-groups.xml @@ -3,16 +3,17 @@ Cache Groups - You can do more elaborate grouping by setting up cache_id groups. This is + You can do more elaborate grouping by setting up $cache_id groups. This is accomplished by separating each sub-group with a vertical bar "|" in the - cache_id value. You can have as many sub-groups as you like. + $cache_id value. You can have as many sub-groups as you like. You can think of cache groups like a directory hierarchy. For instance, a cache group of "a|b|c" could be thought of as the directory structure - "/a/b/c/". clear_cache(null,"a|b|c") would be like removing the files + "/a/b/c/". clear_cache(null,"a|b|c") + would be like removing the files "/a/b/c/*". clear_cache(null,"a|b") would be like removing the files - "/a/b/*". If you specify a compile_id such as + "/a/b/*". If you specify a $compile_id such as clear_cache(null,"a|b","foo") it is treated as an appended cache group "/a/b/c/foo/". If you specify a template name such as clear_cache("foo.tpl","a|b|c") then Smarty will attempt to remove