summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2015-12-07 15:19:20 +0100
committerUrban Müller2015-12-07 15:19:20 +0100
commit382b4c87a721464a2521ca66414d2eccce6d4636 (patch)
treebbeb5378f41ee1008347b15cc96a7b6215126d55 /it_url.class
parent815aeeaff940a0981ecace49dc6353f35cf448a3 (diff)
downloaditools-382b4c87a721464a2521ca66414d2eccce6d4636.tar.gz
itools-382b4c87a721464a2521ca66414d2eccce6d4636.tar.bz2
itools-382b4c87a721464a2521ca66414d2eccce6d4636.zip
docs
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 2279659..ab1f90f 100644
--- a/it_url.class
+++ b/it_url.class
@@ -529,10 +529,10 @@ function get_cache_filename($p)
/**
* Store contents of url in a file and return file name. Threadsafe: Provides locking. Called statically.
* Requires webserver writeable directory in $p['cachdedir']. Params in associative array p:
+ * @param $p['id'] RECOMMENDED: If you need more than one type of cache (e.g. different maxage) you should specify an id
* @param $p['url'] url to get
* @param $p['headers'] optional array of HTTP headers to send
* @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
* @param $p['timeout'] timeout in seconds, default 10. fractions allowed
* @param $p['maxage'] maximum age of cache entries in seconds, default 86400
* @param $p['cleanbefore'] maximum daytime when attempting cleanup, default 7200