projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4789 from totten/master-test-tx
[civicrm-core.git]
/
CRM
/
Utils
/
Cache
/
NoCache.php
diff --git
a/CRM/Utils/Cache/NoCache.php
b/CRM/Utils/Cache/NoCache.php
index 4909a25193515c8714f3cefd8c74498aa0ea67e4..f351560a110c516fa8ebc1ffc614ceda7739bc7a 100644
(file)
--- a/
CRM/Utils/Cache/NoCache.php
+++ b/
CRM/Utils/Cache/NoCache.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-47,25
+47,44
@@
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
/**
* Constructor
*
/**
* Constructor
*
- * @param array
$config
an array of configuration params
+ * @param array
$config
an array of configuration params
*
*
- * @return
void
+ * @return
\CRM_Utils_Cache_NoCache
*/
function __construct($config) {
}
*/
function __construct($config) {
}
+ /**
+ * @param string $key
+ * @param mixed $value
+ *
+ * @return bool
+ */
function set($key, &$value) {
return FALSE;
}
function set($key, &$value) {
return FALSE;
}
+ /**
+ * @param string $key
+ *
+ * @return null
+ */
function get($key) {
return NULL;
}
function get($key) {
return NULL;
}
+ /**
+ * @param string $key
+ *
+ * @return bool
+ */
function delete($key) {
return FALSE;
}
function delete($key) {
return FALSE;
}
+ /**
+ * @return bool
+ */
function flush() {
return FALSE;
}
function flush() {
return FALSE;
}