Skip to content

Commit

Permalink
[mms] Add Horde_Prefs#getCache().
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 16, 2014
1 parent 7dabe4a commit 0d75208
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions framework/Prefs/lib/Horde/Prefs.php
Expand Up @@ -106,6 +106,18 @@ public function __construct($scope, $storage = null, array $opts = array())
register_shutdown_function(array($this, 'store'), false);
}

/**
* Return the cache object.
*
* @since 2.6.0
*
* @return Horde_Prefs_Cache_Base Cache object.
*/
public function getCache()
{
return $this->_cache;
}

/**
* Return the user who owns these preferences.
*
Expand Down
2 changes: 2 additions & 0 deletions framework/Prefs/package.xml
Expand Up @@ -33,6 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Add Horde_Prefs#getCache().
* [mms] Add Horde_Cache based cache driver.
* [mms] Pref scopes are now loaded on-demand.
* [mms] Add Horde_Prefs#changeScope().
Expand Down Expand Up @@ -1109,6 +1110,7 @@ Initial release as a PEAR package
<date>2014-04-16</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Add Horde_Prefs#getCache().
* [mms] Add Horde_Cache based cache driver.
* [mms] Pref scopes are now loaded on-demand.
* [mms] Add Horde_Prefs#changeScope().
Expand Down

0 comments on commit 0d75208

Please sign in to comment.