Commit 34b5d1ef authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #1421330 by Albert Volkman, heyrocker: Crosslink cache_set() and...

Issue #1421330 by Albert Volkman, heyrocker: Crosslink cache_set() and cache_get() documentation with @see.
parent cf1c0c61
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment