*
* @return object
* The data if present in cache, else null
+ * @deprecated
*/
public static function &getItem($group, $path, $componentID = NULL) {
if ($adapter = CRM_Utils_Constant::value('CIVICRM_BAO_CACHE_ADAPTER')) {
*
* @return object
* The data if present in cache, else null
+ * @deprecated
*/
public static function &getItems($group, $componentID = NULL) {
if ($adapter = CRM_Utils_Constant::value('CIVICRM_BAO_CACHE_ADAPTER')) {
* (required) The path under which this item is stored.
* @param int $componentID
* The optional component ID (so componenets can share the same name space).
+ * @deprecated
*/
public static function setItem(&$data, $group, $path, $componentID = NULL) {
if ($adapter = CRM_Utils_Constant::value('CIVICRM_BAO_CACHE_ADAPTER')) {
* @param string $path
* Path of the item that needs to be deleted.
* @param bool $clearAll clear all caches
+ * @deprecated
*/
public static function deleteGroup($group = NULL, $path = NULL, $clearAll = TRUE) {
if ($adapter = CRM_Utils_Constant::value('CIVICRM_BAO_CACHE_ADAPTER')) {