diff options
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 1a21fb4..063aed0 100644 --- a/it_url.class +++ b/it_url.class @@ -329,7 +329,8 @@ function get($p=null, $timeout=5) /** * Construct a local directory name to cache an URL. Named args: - * @param $p['cachedir'] directory to store cache files in, relative paths are appended to $ULTRAHOME/var/urlcache and that is also the default path + * @param $p['cachedir'] directory to store cache files in, defaults to $ULTRAHOME/var/urlcache + * @param $p['id'] If you need more than one type of cache (e.g. different maxage) you can specify an id */ function get_cache_dir($p) { @@ -342,6 +343,7 @@ function get_cache_dir($p) * Construct a local file name to cache an URL. Named args: * @param $p['url'] remote url to get * @param $p['cachedir'] directory to store cache files in, @see get_cache_dir + * @param $p['id'] If you need more than one type of cache (e.g. different maxage) you can specify an id */ function get_cache_filename($p) { |