Skip to content

Commit

Permalink
phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 25, 2014
1 parent e68b9ac commit b6686fc
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class Horde_Cache
*
* @param Horde_Cache_Storage $storage The storage object.
* @param array $params Parameter array:
* <pre>
* - compress: (boolean) Compress data (if possible)?
* DEFAULT: false
* - lifetime: (integer) Lifetime of data, in seconds.
* DEFAULT: 86400 seconds
* - logger: (Horde_Log_Logger) Log object to use for log/debug messages.
* </pre>
*/
public function __construct(Horde_Cache_Storage_Base $storage,
array $params = array())
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Apc.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ class Horde_Cache_Storage_Apc extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Optional parameters:
* <pre>
* - prefix: (string) The prefix to use for the cache keys.
* DEFAULT: ''
* </pre>
*/
public function __construct(array $params = array())
{
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Eaccelerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ class Horde_Cache_Storage_Eaccelerator extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Optional parameters:
* <pre>
* - prefix: (string) The prefix to use for the cache keys.
* DEFAULT: ''
* </pre>
*
* @throws Horde_Cache_Exception
*/
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ class Horde_Cache_Storage_Memcache extends Horde_Cache_Storage_Base
* Construct a new Horde_Cache_Memcache object.
*
* @param array $params Parameter array:
* <pre>
* - memcache: (Horde_Memcache) [REQUIRED] A Horde_Memcache object.
* - prefix: (string) The prefix to use for the cache keys.
* DEFAULT: ''
* </pre>
*/
public function __construct(array $params = array())
{
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Mongo.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ class Horde_Cache_Storage_Mongo extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Parameters:
* <pre>
* - collection: (string) The collection name.
* - mongo_db: [REQUIRED] (Horde_Mongo_Client) A MongoDB client object.
* </pre>
*/
public function __construct(array $params = array())
{
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ class Horde_Cache_Storage_Session extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Optional parameters:
* <pre>
* - session: (string) Store session data in this entry.
* DEFAULT: 'horde_cache_session'
* </pre>
*/
public function __construct(array $params = array())
{
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ class Horde_Cache_Storage_Sql extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Parameters:
* <pre>
* - db: (Horde_Db_Adapter) [REQUIRED] The DB instance.
* - table: (string) The name of the cache table.
* DEFAULT: 'horde_cache'
* </pre>
*/
public function __construct($params = array())
{
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Stack.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ class Horde_Cache_Storage_Stack extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Parameters:
* <pre>
* - stack: (array) [REQUIRED] An array of storage instances to loop
* through, in order of priority. The last entry is considered
* the 'master' driver, for purposes of writes.
* </pre>
*/
public function __construct(array $params = array())
{
Expand Down
2 changes: 2 additions & 0 deletions framework/Cache/lib/Horde/Cache/Storage/Xcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ class Horde_Cache_Storage_Xcache extends Horde_Cache_Storage_Base
* Constructor.
*
* @param array $params Optional parameters:
* <pre>
* - prefix: (string) The prefix to use for the cache keys.
* DEFAULT: ''
* </pre>
*/
public function __construct(array $params = array())
{
Expand Down

0 comments on commit b6686fc

Please sign in to comment.