summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers/Cache_memcached.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-04-27 16:45:43 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-04-27 16:45:43 +0200
commit2fbd57d6d58afd64caa841a876e9773272275526 (patch)
tree917b0b26bbd8bfdef11c35c8f5df90aab0475473 /system/libraries/Cache/drivers/Cache_memcached.php
parent8a6d16c62602d249d2e66356faf5e2f4b8470c9e (diff)
parent68f098142cb71f6a57f74ce34b5f58616cc1ed2f (diff)
Merge pull request #1296 from timw4mail/library-cleanup
Library cleanup - adding additional docblocks
Diffstat (limited to 'system/libraries/Cache/drivers/Cache_memcached.php')
-rw-r--r--system/libraries/Cache/drivers/Cache_memcached.php24
1 files changed, 17 insertions, 7 deletions
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php
index 4cd5f3d6f..813df4b1c 100644
--- a/system/libraries/Cache/drivers/Cache_memcached.php
+++ b/system/libraries/Cache/drivers/Cache_memcached.php
@@ -36,15 +36,25 @@
*/
class CI_Cache_memcached extends CI_Driver {
- protected $_memcached; // Holds the memcached object
+ /**
+ * Holds the memcached object
+ *
+ * @var object
+ */
+ protected $_memcached;
+ /**
+ * Memcached configuration
+ *
+ * @var array
+ */
protected $_memcache_conf = array(
- 'default' => array(
- 'default_host' => '127.0.0.1',
- 'default_port' => 11211,
- 'default_weight' => 1
- )
- );
+ 'default' => array(
+ 'default_host' => '127.0.0.1',
+ 'default_port' => 11211,
+ 'default_weight' => 1
+ )
+ );
/**
* Fetch from cache