/phpids-0.6.5/docs/phpdocumentor/PHPIDS/IDS_Caching_Memcached.html
HTML | 243 lines | 196 code | 41 blank | 6 comment | 0 complexity | df7b4617518fc9675498b11877dd90df MD5 | raw file
- <?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 IDS_Caching_Memcached</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 IDS_Caching_Memcached</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">
- <p class="implements">
- Implements interfaces:
- <ul>
- <li><a href="../PHPIDS/IDS_Caching_Interface.html">IDS_Caching_Interface</a></li> </ul>
- </p>
- <!-- ========== Info from phpDoc block ========= -->
- <p class="short-description">File caching wrapper</p>
- <p class="description"><p>This class inhabits functionality to get and set cache via memcached.</p></p>
- <ul class="tags">
- <li><span class="field">author:</span> Lars Strojny <<a href="mailto:lars@strojny.net">lars@strojny.net</a>></li>
- <li><span class="field">author:</span> Christian Matthies <<a href="mailto:ch0012@gmail.com">ch0012@gmail.com</a>></li>
- <li><span class="field">author:</span> Mario Heiderich <<a href="mailto:mario.heiderich@gmail.com">mario.heiderich@gmail.com</a>></li>
- <li><span class="field">version:</span> Release: $Id:Memcached.php 517 2007-09-15 15:04:13Z mario $</li>
- <li><span class="field">copyright:</span> 2007 The PHPIDS Groupoup</li>
- <li><span class="field">link:</span> <a href="http://php-ids.org/">http://php-ids.org/</a></li>
- <li><span class="field">since:</span> Version 0.4</li>
- <li><span class="field">license:</span> <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a></li>
- </ul>
- <p class="notes">
- Located in <a class="field" href="_Caching---Memcached.php.html">/Caching/Memcached.php</a> (line <span class="field">52</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">object</span>
- <a href="#getInstance" title="details" class="method-name">getInstance</a>
- (<span class="var-type">string</span> <span class="var-name">$type</span>, <span class="var-type">array</span> <span class="var-name">$init</span>)
- </div>
-
- <div class="method-definition">
- <span class="method-result">void</span>
- <a href="#__construct" title="details" class="method-name">__construct</a>
- (<span class="var-type">string</span> <span class="var-name">$type</span>, <span class="var-type">array</span> <span class="var-name">$init</span>)
- </div>
- <div class="method-definition">
- <span class="method-result">mixed</span>
- <a href="#getCache" title="details" class="method-name">getCache</a>
- ()
- </div>
- <div class="method-definition">
- <span class="method-result">object</span>
- <a href="#setCache" title="details" class="method-name">setCache</a>
- (<span class="var-type"></span> <span class="var-name">$data</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="methodgetInstance" id="getInstance"><!-- --></a>
- <div class="oddrow">
-
- <div class="method-header">
- <span class="method-title">static method getInstance</span> (line <span class="line-number">124</span>)
- </div>
-
- <!-- ========== Info from phpDoc block ========= -->
- <p class="short-description">Returns an instance of this class</p>
- <ul class="tags">
- <li><span class="field">access:</span> public</li>
- </ul>
-
- <div class="method-signature">
- static
- <span class="method-result">object</span>
- <span class="method-name">
- getInstance
- </span>
- (<span class="var-type">string</span> <span class="var-name">$type</span>, <span class="var-type">array</span> <span class="var-name">$init</span>)
- </div>
-
- <ul class="parameters">
- <li>
- <span class="var-type">string</span>
- <span class="var-name">$type</span><span class="var-description">: caching type</span> </li>
- <li>
- <span class="var-type">array</span>
- <span class="var-name">$init</span><span class="var-description">: the IDS_Init object</span> </li>
- </ul>
-
-
- </div>
- <a name="method__construct" id="__construct"><!-- --></a>
- <div class="evenrow">
-
- <div class="method-header">
- <span class="method-title">Constructor __construct</span> (line <span class="line-number">100</span>)
- </div>
-
- <!-- ========== Info from phpDoc block ========= -->
- <p class="short-description">Constructor</p>
- <ul class="tags">
- <li><span class="field">throws:</span> Exception if necessary files aren't writeable</li>
- <li><span class="field">access:</span> public</li>
- </ul>
-
- <div class="method-signature">
- <span class="method-result">void</span>
- <span class="method-name">
- __construct
- </span>
- (<span class="var-type">string</span> <span class="var-name">$type</span>, <span class="var-type">array</span> <span class="var-name">$init</span>)
- </div>
-
- <ul class="parameters">
- <li>
- <span class="var-type">string</span>
- <span class="var-name">$type</span><span class="var-description">: caching type</span> </li>
- <li>
- <span class="var-type">array</span>
- <span class="var-name">$init</span><span class="var-description">: the IDS_Init object</span> </li>
- </ul>
-
-
- </div>
- <a name="methodgetCache" id="getCache"><!-- --></a>
- <div class="oddrow">
-
- <div class="method-header">
- <span class="method-title">getCache</span> (line <span class="line-number">172</span>)
- </div>
-
- <!-- ========== Info from phpDoc block ========= -->
- <p class="short-description">Returns the cached data</p>
- <p class="description"><p>Note that this method returns false if either type or file cache is not set</p></p>
- <ul class="tags">
- <li><span class="field">return:</span> cache data or false</li>
- <li><span class="field">access:</span> public</li>
- </ul>
-
- <div class="method-signature">
- <span class="method-result">mixed</span>
- <span class="method-name">
- getCache
- </span>
- ()
- </div>
-
-
- <hr class="separator" />
- <div class="notes">Implementation of:</div>
- <dl>
- <dt><a href="../PHPIDS/IDS_Caching_Interface.html#methodgetCache">IDS_Caching_Interface::getCache()</a></dt>
- <dd>Interface method</dd>
- </dl>
-
- </div>
- <a name="methodsetCache" id="setCache"><!-- --></a>
- <div class="evenrow">
-
- <div class="method-header">
- <span class="method-title">setCache</span> (line <span class="line-number">142</span>)
- </div>
-
- <!-- ========== Info from phpDoc block ========= -->
- <p class="short-description">Writes cache data</p>
- <ul class="tags">
- <li><span class="field">throws:</span> Exception if necessary files aren't writeable</li>
- <li><span class="field">access:</span> public</li>
- </ul>
-
- <div class="method-signature">
- <span class="method-result">object</span>
- <span class="method-name">
- setCache
- </span>
- (<span class="var-type"></span> <span class="var-name">$data</span>)
- </div>
-
- <ul class="parameters">
- <li>
- <span class="var-type">array</span>
- <span class="var-name">$data</span><span class="var-description">: the caching data</span> </li>
- </ul>
-
- <hr class="separator" />
- <div class="notes">Implementation of:</div>
- <dl>
- <dt><a href="../PHPIDS/IDS_Caching_Interface.html#methodsetCache">IDS_Caching_Interface::setCache()</a></dt>
- <dd>Interface method</dd>
- </dl>
-
- </div>
-
- </div>
- </div>
- <p class="notes" id="credit">
- Documentation generated on Mon, 22 Dec 2008 13:36:50 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
- </p>
- </div></body>
- </html>