Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Importing Memcache Manager from Google Project.

  • Loading branch information...
commit f394179241ed2509653f1de78b6e2b5725051f7f 1 parent 56acd63
@peter-schmalfeldt peter-schmalfeldt authored
Showing with 10,649 additions and 0 deletions.
  1. +115 −0 README
  2. +846 −0 memcache/docs/MemcacheManager/MemcacheManager.html
  3. +66 −0 memcache/docs/MemcacheManager/_classes---class_MemcacheManager.php.html
  4. +66 −0 memcache/docs/MemcacheManager/_index.php.html
  5. +13 −0 memcache/docs/blank.html
  6. +24 −0 memcache/docs/classtrees_MemcacheManager.html
  7. +282 −0 memcache/docs/elementindex.html
  8. +279 −0 memcache/docs/elementindex_MemcacheManager.html
  9. +26 −0 memcache/docs/errors.html
  10. +24 −0 memcache/docs/index.html
  11. +35 −0 memcache/docs/li_MemcacheManager.html
  12. +32 −0 memcache/docs/media/banner.css
  13. +144 −0 memcache/docs/media/stylesheet.css
  14. +27 −0 memcache/docs/packages.html
  15. +250 −0 memcache/reports/report.html
  16. +73 −0 memcache/reports/report_sample1.html
  17. +233 −0 memcache/reports/report_sample2.html
  18. +573 −0 memcache/reports/report_sample3.html
  19. +820 −0 memcache/source/classes/class_MemcacheManager.php
  20. +88 −0 memcache/source/index.php
  21. +106 −0 memcached/docs/MemcacheManager/MemcachedReport.html
  22. +66 −0 memcached/docs/MemcacheManager/_classes---class_MemcachedReport.php.html
  23. +2,191 −0 memcached/docs/MemcachedManager/MemcachedManager.html
  24. +66 −0 memcached/docs/MemcachedManager/_classes---class_MemcachedManager.php.html
  25. +80 −0 memcached/docs/MemcachedManager/_index.php.html
  26. +13 −0 memcached/docs/blank.html
  27. +24 −0 memcached/docs/classtrees_MemcacheManager.html
  28. +24 −0 memcached/docs/classtrees_MemcachedManager.html
  29. +495 −0 memcached/docs/elementindex.html
  30. +74 −0 memcached/docs/elementindex_MemcacheManager.html
  31. +476 −0 memcached/docs/elementindex_MemcachedManager.html
  32. +35 −0 memcached/docs/errors.html
  33. +24 −0 memcached/docs/index.html
  34. +34 −0 memcached/docs/li_MemcacheManager.html
  35. +35 −0 memcached/docs/li_MemcachedManager.html
  36. +32 −0 memcached/docs/media/banner.css
  37. +144 −0 memcached/docs/media/stylesheet.css
  38. +32 −0 memcached/docs/packages.html
  39. +247 −0 memcached/reports/report.html
  40. +222 −0 memcached/reports/report_sample.html
  41. +1,770 −0 memcached/source/classes/class_MemcachedManager.php
  42. +361 −0 memcached/source/classes/class_MemcachedReport.php
  43. +75 −0 memcached/source/index.php
  44. +7 −0 memcached/source/tags.sql
View
115 README
@@ -0,0 +1,115 @@
+PHP Classes & Examples for both Memcache & Memcached modules. Source code includes Sample Reports as well as Documentation. Currently tested to work with memcached 1.4.3 & pecl extension 2.2.5.
+
+Our Memcached Class now supports key tagging !!! Add by key, delete by key, search by key, use namespacing... whatever... you're the boss ;)
+
+Also, if you have not already checked it out, we have a sweet tool to generate a report on your Memcached memory usage. See our Sample Report !
+
+http://www.manifestinteractive.com/usenet/memcached/reports/report_sample.html
+
+----------
+Introduction
+----------
+
+This project will host PHP Classes & Examples for both Memcache & Memcached modules. Source code includes Sample Reports as well as Documentation. Currently tested to work with memcached 1.4.3 & pecl extension 2.2.5.
+
+----------
+Details
+----------
+
+My efforts are to make it easier to "visualize" our Memcache servers. I would love to hear your thoughts on ways this might be achieved. So far I am focusing on:
+
+ * Showing Visual Graphs with Memory Usage
+ * Highlighting Potential Problems that may need to be addressed
+ * Still leaving room for your own customizations
+ * I look forward to any feedback you have and am happy to work in any worthwhile features you may want added.
+
+----------
+Known Issue with PECL 2.2.5 & Memcached 1.4.3
+----------
+
+There is a known issue that might cause some headaches for some people. Fortunately Harv over at php.net has already worked out a solution. If you are running Memcached 1.4.3 with the PECL extension 2.2.5, you will not be able to delete a key. If you did a var_dump(debug_backtrace()); you would see an error that reads CLIENT_ERROR bad command line format. Usage: delete <key> [noreply].
+
+To fix this, search for a file named memcache.c and go to line 1494 and in the mmc_delete() function replace:
+
+command_len = spprintf(&command, 0, "delete %s %d", key, time);
+
+with
+
+command_len = spprintf(&command, 0, "delete %s", key);
+
+Once you have saved the file... just recompile, restart apache, and you are good to go.
+
+Here is the Original Thread where I found the fix from Harv.
+
+Hope this helps somebody like it helped me.
+
+----------
+Definitions
+----------
+
+In case you have had a rough time trying to wrap your head around what some of the variables are actually for... here is a comprehensive list and a link to the resources where we discovered this information. Hope this helps! If it doesn't, head over to our Google Group to ask for help.
+
+While you are reading these statistical definitions... keep in mind that the most useful statistics from those given here are the number of cache hits, misses, and evictions.
+
+A large number of get_misses may just be an indication that the cache is still being populated with information. The number should, over time, decrease in comparison to the number of cache get_hits. If, however, you have a large number of cache misses compared to cache hits after an extended period of execution, it may be an indication that the size of the cache is too small and you either need to increase the total memory size, or increase the number of the memcached instances to improve the hit ratio.
+
+A large number of evictions from the cache, particularly in comparison to the number of items stored is a sign that your cache is too small to hold the amount of information that you regularly want to keep cached. Instead of items being retained in the cache, items are being evicted to make way for new items keeping the turnover of items in the cache high, reducing the efficiency of the cache.
+
+Server Statistics
+
+accepting_conns Accepting Connections 1 or 0 to indicate whether the server is currently accepting connections or not.
+version Memcache Version Version string of this instance.
+pid Process ID Process id of the memcached instance.
+pointer_size Pointer Size Size of pointers for this host specified in bits (32 or 64).
+threads Threads Number of worker threads requested.
+rusage_system System CPU Usage Total system time for this instance (seconds:microseconds).
+rusage_user User CPU Usage Total user time for this instance (seconds:microseconds).
+time Time Current time (as epoch).
+uptime Uptime Uptime for this memcached instance (seconds:microseconds).
+
+To get the start time for your service, just subtract time from uptime (uptime-time).
+
+Memory Usage
+
+limit_maxbytes Memory Allocation Number of bytes this server is allowed to use for storage.
+bytes Memory In Use Current number of bytes used by this server to store items.
+bytes_read Total Read Memory Total number of bytes read by this server from network.
+bytes_written Total Written Memory Total number of bytes sent by this server to network.
+
+To get available memory, just subtract bytes from limit_maxbytes (limit_maxbytes-bytes).
+
+Connection Information
+curr_connections Current Connections Current number of open connections.
+total_connections Total Connections Total number of connections opened since the server started running.
+conn_yields Connection Yields Number of yields for connections.
+connection_structures Connection Structures Number of connection structures allocated by the server.
+
+Still not 100% sure what connection_structures or conn_yields are... Anyone?
+
+Memcache Statistics
+
+listen_disabled_num Listeners Disabled The number of times socket listeners were disabled due to hitting the connection limit.
+evictions Evections Number of valid items removed from cache to free memory for new items.
+cmd_flush CMD Flush Used Total number of flush requests.
+cmd_get CMD Get Used Total number of retrieval requests.
+cmd_set CMD Set Used Total number of storage requests.
+cas_badval CAS Bad Value Number of keys that have been compared and swapped, but the comparison (original) value did not match the supplied value.
+cas_hits CAS Hits Number of keys that have been compared and swapped and found present.
+cas_misses CAS Misses Number of items that have been compared and swapped and not found.
+get_hits Get Hits Number of keys that have been requested and found present.
+get_misses Get Misses Number of items that have been requested and not found.
+delete_hits Delete Hits Number of keys that have been deleted and found present.
+delete_misses Delete Misses Number of items that have been delete and not found.
+incr_hits Increment Hits Number of keys that have been incremented and found present.
+incr_misses Increment Misses Number of items that have been incremented and not found.
+decr_hits Decrement Hits Number of keys that have been decremented and found present.
+decr_misses Decrement Misses Number of items that have been decremented and not found.
+
+Pretty much anything that is a miss can be bad. Evictions can be bad too. Read the notes above for more info.
+
+Item Information
+
+curr_items Current Items Current number of items stored by this instance.
+total_items Total Items Total number of items stored during the life of this instance.
+
+And that does it... for this version of Memcached anyway (1.4.3)
View
846 memcache/docs/MemcacheManager/MemcacheManager.html
@@ -0,0 +1,846 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!-- template designed by Marco Von Ballmoos -->
+ <title>Docs For Class MemcacheManager</title>
+ <link rel="stylesheet" href="../media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+ </head>
+ <body>
+ <div class="page-body">
+<h2 class="class-name">Class MemcacheManager</h2>
+
+<a name="sec-description"></a>
+<div class="info-box">
+ <div class="info-box-title">Description</div>
+ <div class="nav-bar">
+ <span class="disabled">Description</span> |
+ <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
+
+ </div>
+ <div class="info-box-body">
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Begin Document</p>
+ <p class="notes">
+ Located in <a class="field" href="_classes---class_MemcacheManager.php.html">/classes/class_MemcacheManager.php</a> (line <span class="field">35</span>)
+ </p>
+
+
+ <pre></pre>
+
+ </div>
+</div>
+
+
+
+
+ <a name="sec-method-summary"></a>
+ <div class="info-box">
+ <div class="info-box-title">Method Summary</span></div>
+ <div class="nav-bar">
+ <a href="#sec-description">Description</a> |
+ <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
+ </div>
+ <div class="info-box-body">
+ <div class="method-summary">
+ <div class="method-definition">
+ static <span class="method-result">void</span>
+ <a href="#_failure" title="details" class="method-name">_failure</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$host</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$port</span>)
+ </div>
+
+ <div class="method-definition">
+ <span class="method-result">MemcacheManager</span>
+ <a href="#__construct" title="details" class="method-name">__construct</a>
+ ()
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#add" title="details" class="method-name">add</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">0</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#addserver" title="details" class="method-name">addserver</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$host</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$port</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#decrement" title="details" class="method-name">decrement</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">1</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">string</span>
+ <a href="#decrypt" title="details" class="method-name">decrypt</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#delete" title="details" class="method-name">delete</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$timeout</span> = <span class="var-default">0</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">string</span>
+ <a href="#encrypt" title="details" class="method-name">encrypt</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#flushmc" title="details" class="method-name">flushmc</a>
+ ()
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#get" title="details" class="method-name">get</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$keys</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$decrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>], <span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#increment" title="details" class="method-name">increment</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">1</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">string</span>
+ <a href="#pbkdf2" title="details" class="method-name">pbkdf2</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$p</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$s</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$c</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$kl</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$a</span> = <span class="var-default">'sha256'</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#replace" title="details" class="method-name">replace</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">0</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">string</span>
+ <a href="#report" title="details" class="method-name">report</a>
+ ()
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
+ <a href="#set" title="details" class="method-name">set</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">0</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">array</span>
+ <a href="#statistics" title="details" class="method-name">statistics</a>
+ ()
+ </div>
+ <div class="method-definition">
+ <span class="method-result">array</span>
+ <a href="#status" title="details" class="method-name">status</a>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$host</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$port</span>)
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+ <a name="sec-methods"></a>
+ <div class="info-box">
+ <div class="info-box-title">Methods</div>
+ <div class="nav-bar">
+ <a href="#sec-description">Description</a> |
+ <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
+
+ </div>
+ <div class="info-box-body">
+ <A NAME='method_detail'></A>
+<a name="method_failure" id="_failure"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">static method _failure</span> (line <span class="line-number">115</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Callback Handler for failed connection</p>
+ <ul class="tags">
+ <li><span class="field">author:</span> Peter Schmalfeldt</li>
+ <li><span class="field">version:</span> 1.0</li>
+ </ul>
+
+ <div class="method-signature">
+ static
+ <span class="method-result">void</span>
+ <span class="method-name">
+ _failure
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$host</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$port</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$host</span><span class="var-description">: Point to the host where memcached is listening for connections. This parameter may also specify other transports like unix:///path/to/memcached.sock to use UNIX domain sockets, in this case port must also be set to 0.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$port</span><span class="var-description">: Point to the port where memcached is listening for connections. This parameter is optional and its default value is 11211. Set this parameter to 0 when using UNIX domain sockets.</span> </li>
+ </ul>
+
+
+ </div>
+
+<a name="method__construct" id="__construct"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">Constructor __construct</span> (line <span class="line-number">98</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Constructor</p>
+<p class="description"><p>Create Memcache Manager <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;</div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$data&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'username'</span>=&gt;<span class="src-str">'memcachelover'</span><span class="src-sym">,</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'email'</span>=&gt;<span class="src-str">'me@myemail.com'</span><span class="src-sym">,</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'displayname'</span>=&gt;<span class="src-str">'Memcache&nbsp;Lover'</span><span class="src-sym">,</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'location'</span>=&gt;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'country'</span>=&gt;<span class="src-str">'USA'</span><span class="src-sym">,</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'state'</span>=&gt;<span class="src-str">'Oregon'</span><span class="src-sym">,</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'city'</span>=&gt;<span class="src-str">'Portland'</span></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-sym">)</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;</div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodadd">add</a><span class="src-sym">(</span><span class="src-str">'memcachelover'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$data</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;adds&nbsp;the&nbsp;key&nbsp;with&nbsp;JSON&nbsp;encoding,&nbsp;encryption&nbsp;and&nbsp;compression</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'memcachelover'</span><span class="src-sym">,&nbsp;</span><span class="src-id">false</span><span class="src-sym">,&nbsp;</span><span class="src-id">false</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;would&nbsp;echo&nbsp;the&nbsp;uncompressed,&nbsp;but&nbsp;still&nbsp;encrypted&nbsp;key</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'memcachelover'</span><span class="src-sym">,&nbsp;</span><span class="src-id">false</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;would&nbsp;echo&nbsp;the&nbsp;uncompressed,&nbsp;decrypted&nbsp;JSON&nbsp;formatted&nbsp;string</span></div></li>
+<li><div class="src-line">&nbsp;<a href="http://www.php.net/print_r">print_r</a><span class="src-sym">(</span><span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'memcachelover'</span><span class="src-sym">,</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">))</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;would&nbsp;print&nbsp;the&nbsp;uncompressed,&nbsp;decrypted&nbsp;array</span></div></li>
+<li><div class="src-line">&nbsp;<a href="http://www.php.net/print_r">print_r</a><span class="src-sym">(</span><span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodstatistics">statistics</a><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;this&nbsp;would&nbsp;print&nbsp;the&nbsp;array&nbsp;of&nbsp;usage&nbsp;stats&nbsp;for&nbsp;all&nbsp;servers</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreport">report</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;this&nbsp;would&nbsp;print&nbsp;our&nbsp;custom&nbsp;report</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodflushmc">flushmc</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;this&nbsp;would&nbsp;fluch&nbsp;all&nbsp;connected&nbsp;servers</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><span class="src-id">close</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;this&nbsp;would&nbsp;close&nbsp;all&nbsp;connections</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">MemcacheManager</span>
+ <span class="method-name">
+ __construct
+ </span>
+ ()
+ </div>
+
+
+
+ </div>
+<a name="methodadd" id="add"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">add</span> (line <span class="line-number">231</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Stores variable $var with $key ONLY if such key doesn't exist at the server yet.</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodadd">add</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray1</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodadd">add</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray2</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodadd">add</a><span class="src-sym">(</span><span class="src-str">'mykey3'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray3</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodadd">add</a><span class="src-sym">(</span><span class="src-str">'mykey4'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray4</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodadd">add</a><span class="src-sym">(</span><span class="src-str">'mykey5'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray5</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ add
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">0</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$key</span><span class="var-description">: The key that will be associated with the item</span> </li>
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$var</span><span class="var-description">: The variable to store. Strings and integers are stored as is, other types are stored serialized.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$expire</span><span class="var-description">: Expiration time of the item. If it's equal to zero, the item will never expire. You can also use Unix timestamp or a number of seconds starting from current time, but in the latter case the number of seconds may not exceed 2592000 (30 days).</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$json</span><span class="var-description">: Whether to encode using JSON</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$encrypt</span><span class="var-description">: Whether to encrypt string</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$zlib</span><span class="var-description">: Use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodaddserver" id="addserver"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">addserver</span> (line <span class="line-number">134</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Add a memcached server to connection pool</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ addserver
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$host</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$port</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$host</span><span class="var-description">: Point to the host where memcached is listening for connections. This parameter may also specify other transports like unix:///path/to/memcached.sock to use UNIX domain sockets, in this case port must also be set to 0.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$port</span><span class="var-description">: Point to the port where memcached is listening for connections. This parameter is optional and its default value is 11211. Set this parameter to 0 when using UNIX domain sockets.</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methoddecrement" id="decrement"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">decrement</span> (line <span class="line-number">394</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Decrement item's value</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methoddecrement">decrement</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-num">5</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methoddecrement">decrement</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ decrement
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">1</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$key</span><span class="var-description">: Key of the item do decrement.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$value</span><span class="var-description">: Decrement the item by value . Optional and defaults to 1.</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methoddecrypt" id="decrypt"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">decrypt</span> (line <span class="line-number">704</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Decrypt String with Key</p>
+<p class="description"><p>The function decryptString()</p></p>
+ <ul class="tags">
+ <li><span class="field">return:</span> Decrypted String</li>
+ <li><span class="field">author:</span> Peter Schmalfeldt</li>
+ <li><span class="field">version:</span> 1.0</li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">string</span>
+ <span class="method-name">
+ decrypt
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$string</span><span class="var-description">: String to Decrypt</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methoddelete" id="delete"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">delete</span> (line <span class="line-number">347</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Delete item from the server</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ delete
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$timeout</span> = <span class="var-default">0</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$key</span><span class="var-description">: The key associated with the item to delete.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$timeout</span><span class="var-description">: Execution time of the item. If it's equal to zero, the item will be deleted right away whereas if you set it to 30, the item will be deleted in 30 seconds.</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodencrypt" id="encrypt"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">encrypt</span> (line <span class="line-number">734</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Encrypt String with Key</p>
+<p class="description"><p>The function encryptString()</p></p>
+ <ul class="tags">
+ <li><span class="field">return:</span> Encoded String</li>
+ <li><span class="field">author:</span> Peter Schmalfeldt</li>
+ <li><span class="field">version:</span> 1.0</li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">string</span>
+ <span class="method-name">
+ encrypt
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$string</span><span class="var-description">: String to Encrypt</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodflushmc" id="flushmc"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">flushmc</span> (line <span class="line-number">202</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Immediately invalidates all existing items but doesn't actually free any resources, it only marks all the items as expired, so occupied memory will be overwritten by new items.</p>
+<p class="description"><p>Please note that after flushing, you have to wait about a second to be able to write to Memcached again. If you don't, your data is not saved.</p><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodflushmc">flushmc</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ flushmc
+ </span>
+ ()
+ </div>
+
+
+
+ </div>
+<a name="methodget" id="get"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">get</span> (line <span class="line-number">321</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Retrieve item from the server</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'mykey3'</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodget">get</a><span class="src-sym">(</span><span class="src-str">'mykey4'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ get
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$keys</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$decrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>], <span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$keys</span><span class="var-description">: The key or array of keys to fetch</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$json</span><span class="var-description">: Whether to decode using JSON</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$encrypt</span><span class="var-description">: Whether to decrypt string</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$zlib</span><span class="var-description">: Use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).</span> </li>
+ <li>
+ <span class="var-type"></span>
+ <span class="var-name">$decrypt</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodincrement" id="increment"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">increment</span> (line <span class="line-number">373</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Increment item's value</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodincrement">increment</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-num">5</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodincrement">increment</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ increment
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">1</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$key</span><span class="var-description">: Key of the item to increment</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$value</span><span class="var-description">: Increment the item by value . Optional and defaults to 1.</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodpbkdf2" id="pbkdf2"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">pbkdf2</span> (line <span class="line-number">761</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">PBKDF2 Implementation (as described in RFC 2898);</p>
+ <ul class="tags">
+ <li><span class="field">return:</span> derived key</li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">string</span>
+ <span class="method-name">
+ pbkdf2
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$p</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$s</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$c</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$kl</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$a</span> = <span class="var-default">'sha256'</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$p</span><span class="var-description">: Password</span> </li>
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$s</span><span class="var-description">: Salt</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$c</span><span class="var-description">: Iteration count (use 1000 or higher)</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$kl</span><span class="var-description">: Derived key length</span> </li>
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$a</span><span class="var-description">: Hash algorithm</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodreplace" id="replace"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">replace</span> (line <span class="line-number">293</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Should be used to replace value of existing item with key</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreplace">replace</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray1</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreplace">replace</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray2</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreplace">replace</a><span class="src-sym">(</span><span class="src-str">'mykey3'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray3</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreplace">replace</a><span class="src-sym">(</span><span class="src-str">'mykey4'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray4</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreplace">replace</a><span class="src-sym">(</span><span class="src-str">'mykey5'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray5</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ replace
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">0</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$key</span><span class="var-description">: The key that will be associated with the item</span> </li>
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$var</span><span class="var-description">: The variable to store. Strings and integers are stored as is, other types are stored serialized.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$expire</span><span class="var-description">: Expiration time of the item. If it's equal to zero, the item will never expire. You can also use Unix timestamp or a number of seconds starting from current time, but in the latter case the number of seconds may not exceed 2592000 (30 days).</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$json</span><span class="var-description">: Whether to encode using JSON</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$encrypt</span><span class="var-description">: Whether to encrypt string</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$zlib</span><span class="var-description">: Use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodreport" id="report"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">report</span> (line <span class="line-number">413</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Get statistics from all servers in pool and generate custom report</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;echo&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodreport">report</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">return:</span> HTML Table of statistics.</li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">string</span>
+ <span class="method-name">
+ report
+ </span>
+ ()
+ </div>
+
+
+
+ </div>
+<a name="methodset" id="set"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">set</span> (line <span class="line-number">262</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Stores an item var with key on the memcached server</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodset">set</a><span class="src-sym">(</span><span class="src-str">'mykey1'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray1</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodset">set</a><span class="src-sym">(</span><span class="src-str">'mykey2'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray2</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodset">set</a><span class="src-sym">(</span><span class="src-str">'mykey3'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray3</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodset">set</a><span class="src-sym">(</span><span class="src-str">'mykey4'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray4</span><span class="src-sym">,&nbsp;</span><span class="src-num">30</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodset">set</a><span class="src-sym">(</span><span class="src-str">'mykey5'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$myarray5</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">void</span>
+ <span class="method-name">
+ set
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">0</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$json</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$zlib</span> = <span class="var-default">false</span>])
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$key</span><span class="var-description">: The key that will be associated with the item</span> </li>
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$var</span><span class="var-description">: The variable to store. Strings and integers are stored as is, other types are stored serialized.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$expire</span><span class="var-description">: Expiration time of the item. If it's equal to zero, the item will never expire. You can also use Unix timestamp or a number of seconds starting from current time, but in the latter case the number of seconds may not exceed 2592000 (30 days).</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$json</span><span class="var-description">: Whether to encode using JSON</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$encrypt</span><span class="var-description">: Whether to encrypt string</span> </li>
+ <li>
+ <span class="var-type">bool</span>
+ <span class="var-name">$zlib</span><span class="var-description">: Use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).</span> </li>
+ </ul>
+
+
+ </div>
+<a name="methodstatistics" id="statistics"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <span class="method-title">statistics</span> (line <span class="line-number">183</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Get statistics from all servers in pool</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<a href="http://www.php.net/print_r">print_r</a><span class="src-sym">(</span><span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodstatistics">statistics</a><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">return:</span> Returns a two-dimensional associative array of server statistics or FALSE on failure.</li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">array</span>
+ <span class="method-name">
+ statistics
+ </span>
+ ()
+ </div>
+
+
+
+ </div>
+<a name="methodstatus" id="status"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <span class="method-title">status</span> (line <span class="line-number">164</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Returns a the servers online/offline status</p>
+<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodaddserver">addserver</a><span class="src-sym">(</span><span class="src-str">'localhost'</span><span class="src-sym">,&nbsp;</span><span class="src-num">11211</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-key">if</span><span class="src-sym">(</span><span class="src-var">$mc</span><span class="src-sym">-&gt;</span><a href="../MemcacheManager/MemcacheManager.html#methodstatus">status</a><span class="src-sym">(</span><span class="src-sym">)</span>&gt;<span class="src-num">0</span><span class="src-sym">)&nbsp;</span>echo&nbsp;<span class="src-str">'Connection&nbsp;Established'</span><span class="src-sym">;</span></div></li>
+<li><div class="src-line">&nbsp;<span class="src-php">?&gt;</span></div></li>
+</ol></div></p></p>
+ <ul class="tags">
+ <li><span class="field">return:</span> Returns 0 if server is failed, non-zero otherwise</li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">array</span>
+ <span class="method-name">
+ status
+ </span>
+ (<span class="var-type">string</span>&nbsp;<span class="var-name">$host</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$port</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">string</span>
+ <span class="var-name">$host</span><span class="var-description">: Point to the host where memcached is listening for connections. This parameter may also specify other transports like unix:///path/to/memcached.sock to use UNIX domain sockets, in this case port must also be set to 0.</span> </li>
+ <li>
+ <span class="var-type">int</span>
+ <span class="var-name">$port</span><span class="var-description">: Point to the port where memcached is listening for connections. This parameter is optional and its default value is 11211. Set this parameter to 0 when using UNIX domain sockets.</span> </li>
+ </ul>
+
+
+ </div>
+
+ </div>
+ </div>
+
+
+ <p class="notes" id="credit">
+ Documentation generated on Fri, 13 Nov 2009 06:22:36 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ </p>
+ </div></body>
+</html>
View
66 memcache/docs/MemcacheManager/_classes---class_MemcacheManager.php.html
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!-- template designed by Marco Von Ballmoos -->
+ <title>Docs for page class_MemcacheManager.php</title>
+ <link rel="stylesheet" href="../media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+ </head>
+ <body>
+ <div class="page-body">
+<h2 class="file-name">/classes/class_MemcacheManager.php</h2>
+
+<a name="sec-description"></a>
+<div class="info-box">
+ <div class="info-box-title">Description</div>
+ <div class="nav-bar">
+ <span class="disabled">Description</span> |
+ <a href="#sec-classes">Classes</a>
+ </div>
+ <div class="info-box-body">
+ <!-- ========== Info from phpDoc block ========= -->
+ <ul class="tags">
+ <li><span class="field">author:</span> Peter Schmalfeldt &lt;<a href="mailto:manifestinteractive@gmail.com">manifestinteractive@gmail.com</a>&gt;</li>
+ <li><span class="field">link:</span> <a href="http://code.google.com/p/memcachemanager/">http://code.google.com/p/memcachemanager/</a></li>
+ <li><span class="field">link:</span> <a href="http://groups.google.com/group/memcachemanager">http://groups.google.com/group/memcachemanager</a></li>
+ <li><span class="field">license:</span> <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></li>
+ </ul>
+
+ </div>
+</div>
+
+ <a name="sec-classes"></a>
+ <div class="info-box">
+ <div class="info-box-title">Classes</div>
+ <div class="nav-bar">
+ <a href="#sec-description">Description</a> |
+ <span class="disabled">Classes</span>
+ </div>
+ <div class="info-box-body">
+ <table cellpadding="2" cellspacing="0" class="class-table">
+ <tr>
+ <th class="class-table-header">Class</th>
+ <th class="class-table-header">Description</th>
+ </tr>
+ <tr>
+ <td style="padding-right: 2em; vertical-align: top">
+ <a href="../MemcacheManager/MemcacheManager.html">MemcacheManager</a>
+ </td>
+ <td>
+ Begin Document
+ </td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+
+
+
+
+ <p class="notes" id="credit">
+ Documentation generated on Fri, 13 Nov 2009 06:22:36 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ </p>
+ </div></body>
+</html>
View
66 memcache/docs/MemcacheManager/_index.php.html
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!-- template designed by Marco Von Ballmoos -->
+ <title>Docs for page index.php</title>
+ <link rel="stylesheet" href="../media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+ </head>
+ <body>
+ <div class="page-body">
+<h2 class="file-name">/index.php</h2>
+
+<a name="sec-description"></a>
+<div class="info-box">
+ <div class="info-box-title">Description</div>
+ <div class="nav-bar">
+ <span class="disabled">Description</span> |
+ <a href="#sec-includes">Includes</a>
+ </div>
+ <div class="info-box-body">
+ <!-- ========== Info from phpDoc block ========= -->
+ <ul class="tags">
+ <li><span class="field">author:</span> Peter Schmalfeldt &lt;<a href="mailto:manifestinteractive@gmail.com">manifestinteractive@gmail.com</a>&gt;</li>
+ <li><span class="field">link:</span> <a href="http://code.google.com/p/memcachemanager/">http://code.google.com/p/memcachemanager/</a></li>
+ <li><span class="field">link:</span> <a href="http://groups.google.com/group/memcachemanager">http://groups.google.com/group/memcachemanager</a></li>
+ <li><span class="field">license:</span> <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></li>
+ </ul>
+
+ </div>
+</div>
+
+
+ <a name="sec-includes"></a>
+ <div class="info-box">
+ <div class="info-box-title">Includes</div>
+ <div class="nav-bar">
+ <a href="#sec-description">Description</a> |
+ <span class="disabled">Includes</span>
+ </div>
+ <div class="info-box-body">
+ <a name="_classes/class_MemcacheManager_php"><!-- --></a>
+<div class="oddrow">
+
+ <div>
+ <span class="include-title">
+ <span class="include-type">include</span>
+ (<span class="include-name"><a href="../MemcacheManager/_classes---class_MemcacheManager.php.html">'classes/class_MemcacheManager.php'</a></span>)
+ (line <span class="line-number">31</span>)
+ </span>
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+
+</div>
+ </div>
+ </div>
+
+
+
+
+ <p class="notes" id="credit">
+ Documentation generated on Fri, 13 Nov 2009 06:22:36 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ </p>
+ </div></body>
+</html>
View
13 memcache/docs/blank.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+ <title>Generated Documentation</title>
+ <link rel="stylesheet" href="media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+</head>
+<body>
+<div align="center"><h1>Generated Documentation</h1></div>
+<b>Welcome to MemcacheManager!</b><br />
+<br />
+This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
+</body>
+</html>
View
24 memcache/docs/classtrees_MemcacheManager.html
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!-- template designed by Marco Von Ballmoos -->
+ <title></title>
+ <link rel="stylesheet" href="media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+ </head>
+ <body>
+
+<!-- Start of Class Data -->
+<H2>
+
+</H2>
+<h2>Root class MemcacheManager</h2>
+<ul>
+<li><a href="MemcacheManager/MemcacheManager.html">MemcacheManager</a></li></ul>
+
+ <p class="notes" id="credit">
+ Documentation generated on Fri, 13 Nov 2009 06:22:36 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ </p>
+ </body>
+</html>
View
282 memcache/docs/elementindex.html
@@ -0,0 +1,282 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!-- template designed by Marco Von Ballmoos -->
+ <title></title>
+ <link rel="stylesheet" href="media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+ </head>
+ <body>
+ <a name="top"></a>
+<h2>Full index</h2>
+<h3>Package indexes</h3>
+<ul>
+ <li><a href="elementindex_MemcacheManager.html">MemcacheManager</a></li>
+</ul>
+<br />
+<div class="index-letter-menu">
+ <a class="index-letter" href="elementindex.html#a">a</a>
+ <a class="index-letter" href="elementindex.html#c">c</a>
+ <a class="index-letter" href="elementindex.html#d">d</a>
+ <a class="index-letter" href="elementindex.html#e">e</a>
+ <a class="index-letter" href="elementindex.html#f">f</a>
+ <a class="index-letter" href="elementindex.html#g">g</a>
+ <a class="index-letter" href="elementindex.html#i">i</a>
+ <a class="index-letter" href="elementindex.html#m">m</a>
+ <a class="index-letter" href="elementindex.html#p">p</a>
+ <a class="index-letter" href="elementindex.html#r">r</a>
+ <a class="index-letter" href="elementindex.html#s">s</a>
+ <a class="index-letter" href="elementindex.html#_">_</a>
+</div>
+
+ <a name="a"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">a</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">add</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodadd">MemcacheManager::add()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Stores variable $var with $key ONLY if such key doesn't exist at the server yet.</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">addserver</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodaddserver">MemcacheManager::addserver()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Add a memcached server to connection pool</div>
+ </dd>
+ </dl>
+ <a name="c"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">c</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="include-title">class_MemcacheManager.php</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/_classes---class_MemcacheManager.php.html">class_MemcacheManager.php</a> in class_MemcacheManager.php</div>
+ </dd>
+ </dl>
+ <a name="d"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">d</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">decrement</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methoddecrement">MemcacheManager::decrement()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Decrement item's value</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">decrypt</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methoddecrypt">MemcacheManager::decrypt()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Decrypt String with Key</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">delete</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methoddelete">MemcacheManager::delete()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Delete item from the server</div>
+ </dd>
+ </dl>
+ <a name="e"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">e</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">encrypt</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodencrypt">MemcacheManager::encrypt()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Encrypt String with Key</div>
+ </dd>
+ </dl>
+ <a name="f"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">f</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">flushmc</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodflushmc">MemcacheManager::flushmc()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Immediately invalidates all existing items but doesn't actually free any resources, it only marks all the items as expired, so occupied memory will be overwritten by new items.</div>
+ </dd>
+ </dl>
+ <a name="g"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">g</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">get</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodget">MemcacheManager::get()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Retrieve item from the server</div>
+ </dd>
+ </dl>
+ <a name="i"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">i</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">increment</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodincrement">MemcacheManager::increment()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Increment item's value</div>
+ </dd>
+ <dt class="field">
+ <span class="include-title">index.php</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/_index.php.html">index.php</a> in index.php</div>
+ </dd>
+ </dl>
+ <a name="m"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">m</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ MemcacheManager
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html">MemcacheManager</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Begin Document</div>
+ </dd>
+ </dl>
+ <a name="p"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">p</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">pbkdf2</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodpbkdf2">MemcacheManager::pbkdf2()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">PBKDF2 Implementation (as described in RFC 2898);</div>
+ </dd>
+ </dl>
+ <a name="r"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">r</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">replace</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodreplace">MemcacheManager::replace()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Should be used to replace value of existing item with key</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">report</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodreport">MemcacheManager::report()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Get statistics from all servers in pool and generate custom report</div>
+ </dd>
+ </dl>
+ <a name="s"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">s</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">set</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodset">MemcacheManager::set()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Stores an item var with key on the memcached server</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">statistics</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodstatistics">MemcacheManager::statistics()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Get statistics from all servers in pool</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">status</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodstatus">MemcacheManager::status()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Returns a the servers online/offline status</div>
+ </dd>
+ </dl>
+ <a name="_"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">_</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">_failure</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#method_failure">MemcacheManager::_failure()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Callback Handler for failed connection</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">__construct</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#method__construct">MemcacheManager::__construct()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Constructor</div>
+ </dd>
+ </dl>
+
+<div class="index-letter-menu">
+ <a class="index-letter" href="elementindex.html#a">a</a>
+ <a class="index-letter" href="elementindex.html#c">c</a>
+ <a class="index-letter" href="elementindex.html#d">d</a>
+ <a class="index-letter" href="elementindex.html#e">e</a>
+ <a class="index-letter" href="elementindex.html#f">f</a>
+ <a class="index-letter" href="elementindex.html#g">g</a>
+ <a class="index-letter" href="elementindex.html#i">i</a>
+ <a class="index-letter" href="elementindex.html#m">m</a>
+ <a class="index-letter" href="elementindex.html#p">p</a>
+ <a class="index-letter" href="elementindex.html#r">r</a>
+ <a class="index-letter" href="elementindex.html#s">s</a>
+ <a class="index-letter" href="elementindex.html#_">_</a>
+</div> </body>
+</html>
View
279 memcache/docs/elementindex_MemcacheManager.html
@@ -0,0 +1,279 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!-- template designed by Marco Von Ballmoos -->
+ <title></title>
+ <link rel="stylesheet" href="media/stylesheet.css" />
+ <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
+ </head>
+ <body>
+ <a name="top"></a>
+<h2>[MemcacheManager] element index</h2>
+<a href="elementindex.html">All elements</a>
+<br />
+<div class="index-letter-menu">
+ <a class="index-letter" href="elementindex_MemcacheManager.html#a">a</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#c">c</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#d">d</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#e">e</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#f">f</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#g">g</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#i">i</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#m">m</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#p">p</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#r">r</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#s">s</a>
+ <a class="index-letter" href="elementindex_MemcacheManager.html#_">_</a>
+</div>
+
+ <a name="_"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">_</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">_failure</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#method_failure">MemcacheManager::_failure()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Callback Handler for failed connection</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">__construct</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#method__construct">MemcacheManager::__construct()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Constructor</div>
+ </dd>
+ </dl>
+ <a name="a"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">a</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="method-title">add</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodadd">MemcacheManager::add()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Stores variable $var with $key ONLY if such key doesn't exist at the server yet.</div>
+ </dd>
+ <dt class="field">
+ <span class="method-title">addserver</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/MemcacheManager.html#methodaddserver">MemcacheManager::addserver()</a> in class_MemcacheManager.php</div>
+ <div class="index-item-description">Add a memcached server to connection pool</div>
+ </dd>
+ </dl>
+ <a name="c"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">c</div>
+ <div style="float: right"><a href="#top">top</a></div>
+ <div style="clear: both"></div>
+ </div>
+ <dl>
+ <dt class="field">
+ <span class="include-title">class_MemcacheManager.php</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="MemcacheManager/_classes---class_MemcacheManager.php.html">class_MemcacheManager.php</a> in class_MemcacheManager.php</div>
+ </dd>
+ </dl>
+ <a name="d"></a>
+ <div class="index-letter-section">
+ <div style="float: left" class="index-letter-title">d</div>
+ <div style="float: right"><a href="#top">top</a></div>