diff options
author | Christian Schneider | 2009-06-24 14:52:47 +0000 |
---|---|---|
committer | Christian Schneider | 2009-06-24 14:52:47 +0000 |
commit | 5668afc8303b79a0cd577553d49d38774b79d0d8 (patch) | |
tree | 4de313f6dc13bfa803c75f416bb0f1e1e96b1706 /it_url.class | |
parent | a9264e2231dfd4013e6c5824ac0f9fceee9c99c0 (diff) | |
download | itools-5668afc8303b79a0cd577553d49d38774b79d0d8.tar.gz itools-5668afc8303b79a0cd577553d49d38774b79d0d8.tar.bz2 itools-5668afc8303b79a0cd577553d49d38774b79d0d8.zip |
Enhanced documentation
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) { |