summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2009-06-24 14:52:47 +0000
committerChristian Schneider2009-06-24 14:52:47 +0000
commit5668afc8303b79a0cd577553d49d38774b79d0d8 (patch)
tree4de313f6dc13bfa803c75f416bb0f1e1e96b1706
parenta9264e2231dfd4013e6c5824ac0f9fceee9c99c0 (diff)
downloaditools-5668afc8303b79a0cd577553d49d38774b79d0d8.tar.gz
itools-5668afc8303b79a0cd577553d49d38774b79d0d8.tar.bz2
itools-5668afc8303b79a0cd577553d49d38774b79d0d8.zip
Enhanced documentation
-rw-r--r--it_url.class4
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)
{