From 5668afc8303b79a0cd577553d49d38774b79d0d8 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 24 Jun 2009 14:52:47 +0000 Subject: Enhanced documentation --- it_url.class | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'it_url.class') 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) { -- cgit v1.2.3