summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGábor Hojtsy2012-04-16 12:23:49 (GMT)
committer Gábor Hojtsy2012-04-16 12:23:49 (GMT)
commit34b5d1ef0b0b19b9724bf8ec9ccc5a85cb96e830 (patch)
treeaf1dc33150f5de6fa98fa9f3ced9c41e2334e240
parentcf1c0c61600ae43143343307ad080664e1c6a7ac (diff)
Issue #1421330 by Albert Volkman, heyrocker: Crosslink cache_set() and cache_get() documentation with @see.
-rw-r--r--includes/cache.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/cache.inc b/includes/cache.inc
index c02b063..1e70960 100644
--- a/includes/cache.inc
+++ b/includes/cache.inc
@@ -9,6 +9,8 @@
* @param $table
* The table $table to store the data in. Valid core values are 'cache_filter',
* 'cache_menu', 'cache_page', or 'cache' for the default cache.
+ *
+ * @see cache_set()
*/
function cache_get($cid, $table = 'cache') {
global $user;
@@ -97,6 +99,8 @@ function cache_get($cid, $table = 'cache') {
* the given time, after which it behaves like CACHE_TEMPORARY.
* @param $headers
* A string containing HTTP header information for cached pages.
+ *
+ * @see cache_get()
*/
function cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $headers = NULL) {
$serialized = 0;