Subversion Repositories Applications.framework

Rev

Blame | Last modification | View Log | RSS feed

<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>TBFramework - v0.4</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

    <link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
    <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/prism.css" rel="stylesheet" media="all"/>
    <link href="../css/template.css" rel="stylesheet" media="all"/>
    
    <!--[if lt IE 9]>
    <script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
    <![endif]-->
    <script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script>
    <script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
    <script src="../js/jquery.smooth-scroll.js"></script>
    <script src="../js/prism.min.js"></script>
    <!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
    <script type="text/javascript">
    function loadExternalCodeSnippets() {
        Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
            var src = pre.getAttribute('data-src');
            var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
            var language = 'php';

            var code = document.createElement('code');
            code.className = 'language-' + language;

            pre.textContent = '';

            code.textContent = 'Loading…';

            pre.appendChild(code);

            var xhr = new XMLHttpRequest();

            xhr.open('GET', src, true);

            xhr.onreadystatechange = function () {
                if (xhr.readyState == 4) {

                    if (xhr.status < 400 && xhr.responseText) {
                        code.textContent = xhr.responseText;

                        Prism.highlightElement(code);
                    }
                    else if (xhr.status >= 400) {
                        code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
                    }
                    else {
                        code.textContent = '✖ Error: File does not exist or is empty';
                    }
                }
            };

            xhr.send(null);
        });
    }

    $(document).ready(function(){
        loadExternalCodeSnippets();
    });
    $('#source-view').on('shown', function () {
        loadExternalCodeSnippets();
    })
</script>

    <link rel="shortcut icon" href="../images/favicon.ico"/>
    <link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
</head>
<body>

<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <i class="icon-ellipsis-vertical"></i>
            </a>
            <a class="brand" href="../index.html">TBFramework - v0.4</a>

            <div class="nav-collapse">
                <ul class="nav pull-right">
                    <li class="dropdown">
                        <a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
                            API Documentation <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                                                    </ul>
                    </li>
                    <li class="dropdown" id="charts-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Charts <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../graphs/class.html">
                                    <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown" id="reports-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Reports <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../reports/errors.html">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">281</span>
                                </a>
                            </li>
                            <li>
                                <a href="../reports/markers.html">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">12</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--<div class="go_to_top">-->
    <!--<a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>-->
    <!--</div>-->
</div>

<div id="___" class="container-fluid">
        <section class="row-fluid">
        <div class="span2 sidebar">
                                <div class="accordion" style="margin-bottom: 0">
        <div class="accordion-group">
            <div class="accordion-heading">
                                    <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1522024118"></a>
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
            </div>
            <div id="namespace-1522024118" class="accordion-body collapse in">
                <div class="accordion-inner">

                    
                    <ul>
                                                                                                    <li class="class"><a href="../classes/Url.html">Url</a></li>
                                                    <li class="class"><a href="../classes/Debug.html">Debug</a></li>
                                                    <li class="class"><a href="../classes/Chronometre.html">Chronometre</a></li>
                                                    <li class="class"><a href="../classes/RestServeur.html">RestServeur</a></li>
                                                    <li class="class"><a href="../classes/SquelettePhp.html">SquelettePhp</a></li>
                                                    <li class="class"><a href="../classes/Controleur.html">Controleur</a></li>
                                                    <li class="class"><a href="../classes/Cache.html">Cache</a></li>
                                                    <li class="class"><a href="../classes/RestClient.html">RestClient</a></li>
                                                    <li class="class"><a href="../classes/GestionnaireException.html">GestionnaireException</a></li>
                                                    <li class="class"><a href="../classes/Script.html">Script</a></li>
                                                    <li class="class"><a href="../classes/Registre.html">Registre</a></li>
                                                    <li class="class"><a href="../classes/RestService.html">RestService</a></li>
                                                    <li class="class"><a href="../classes/Cli.html">Cli</a></li>
                                                    <li class="class"><a href="../classes/Encodage.html">Encodage</a></li>
                                                    <li class="class"><a href="../classes/Tableau.html">Tableau</a></li>
                                                    <li class="class"><a href="../classes/Pattern.html">Pattern</a></li>
                                                    <li class="class"><a href="../classes/Chaine.html">Chaine</a></li>
                                                    <li class="class"><a href="../classes/Fichier.html">Fichier</a></li>
                                                    <li class="class"><a href="../classes/I18n.html">I18n</a></li>
                                                    <li class="class"><a href="../classes/Config.html">Config</a></li>
                                                    <li class="class"><a href="../classes/CacheSqlite.html">CacheSqlite</a></li>
                                                    <li class="class"><a href="../classes/Bdd.html">Bdd</a></li>
                                                    <li class="class"><a href="../classes/Log.html">Log</a></li>
                                                    <li class="class"><a href="../classes/CacheFichier.html">CacheFichier</a></li>
                                                    <li class="class"><a href="../classes/Framework.html">Framework</a></li>
                                                    <li class="class"><a href="../classes/CacheSimple.html">CacheSimple</a></li>
                                            </ul>
                </div>
            </div>
        </div>
    </div>

        </div>
    </section>
    <section class="row-fluid">
        <div class="span10 offset2">
            <div class="row-fluid">
                <div class="span8 content class">
                    <nav>
                                                <a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
                                            </nav>
                    <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>

                    <h1><small>\</small>Cache</h1>
                    <p><em>Classe Cache permettant de mettre en cache des données.</em></p>
                    <p>Basée sur les principes de Zend_Cache (Copyright (c) 2005-2010, Zend Technologies USA, Inc. All rights reserved.)</p>

                    <section id="summary">
                        <h2>Summary</h2>
                        <section class="row-fluid heading">
                            <section class="span4">
                                <a href="#methods">Methods</a>
                            </section>
                            <section class="span4">
                                <a href="#properties">Properties</a>
                            </section>
                            <section class="span4">
                                <a href="#constants">Constants</a>
                            </section>
                        </section>
                        <section class="row-fluid public">
                            <section class="span4">
                                                                    <a href="../classes/Cache.html#method___construct" class="">__construct()</a><br />
                                                                    <a href="../classes/Cache.html#method_setEmplacement" class="">setEmplacement()</a><br />
                                                                    <a href="../classes/Cache.html#method_fabriquer" class="">fabriquer()</a><br />
                                                                    <a href="../classes/Cache.html#method_charger" class="">charger()</a><br />
                                                                    <a href="../classes/Cache.html#method_tester" class="">tester()</a><br />
                                                                    <a href="../classes/Cache.html#method_sauver" class="">sauver()</a><br />
                                                                    <a href="../classes/Cache.html#method_supprimer" class="">supprimer()</a><br />
                                                                    <a href="../classes/Cache.html#method_nettoyer" class="">nettoyer()</a><br />
                                                                    <a href="../classes/Cache.html#method_getIds" class="">getIds()</a><br />
                                                                    <a href="../classes/Cache.html#method_getTags" class="">getTags()</a><br />
                                                                    <a href="../classes/Cache.html#method_getIdsAvecLesTags" class="">getIdsAvecLesTags()</a><br />
                                                                    <a href="../classes/Cache.html#method_getIdsSansLesTags" class="">getIdsSansLesTags()</a><br />
                                                                    <a href="../classes/Cache.html#method_getIdsAvecUnTag" class="">getIdsAvecUnTag()</a><br />
                                                                    <a href="../classes/Cache.html#method_getPourcentageRemplissage" class="">getPourcentageRemplissage()</a><br />
                                                                    <a href="../classes/Cache.html#method_getMetadonnees" class="">getMetadonnees()</a><br />
                                                                    <a href="../classes/Cache.html#method_ajouterSupplementDureeDeVie" class="">ajouterSupplementDureeDeVie()</a><br />
                                                                    <a href="../classes/Cache.html#method_getTimestampExpiration" class="">getTimestampExpiration()</a><br />
                                                            </section>
                            <section class="span4">
                                                                    <em>No public properties found</em>
                                                            </section>
                            <section class="span4">
                                                                    <a href="../classes/Cache.html#constant_STOCKAGE_MODE_SIMPLE" class="">STOCKAGE_MODE_SIMPLE</a><br />
                                                                    <a href="../classes/Cache.html#constant_STOCKAGE_MODE_FICHIER" class="">STOCKAGE_MODE_FICHIER</a><br />
                                                                    <a href="../classes/Cache.html#constant_STOCKAGE_MODE_SQLITE" class="">STOCKAGE_MODE_SQLITE</a><br />
                                                                    <a href="../classes/Cache.html#constant_NETTOYAGE_MODE_TOUS" class="">NETTOYAGE_MODE_TOUS</a><br />
                                                                    <a href="../classes/Cache.html#constant_NETTOYAGE_MODE_EXPIRATION" class="">NETTOYAGE_MODE_EXPIRATION</a><br />
                                                                    <a href="../classes/Cache.html#constant_NETTOYAGE_MODE_AVEC_LES_TAGS" class="">NETTOYAGE_MODE_AVEC_LES_TAGS</a><br />
                                                                    <a href="../classes/Cache.html#constant_NETTOYAGE_MODE_SANS_LES_TAGS" class="">NETTOYAGE_MODE_SANS_LES_TAGS</a><br />
                                                                    <a href="../classes/Cache.html#constant_NETTOYAGE_MODE_AVEC_UN_TAG" class="">NETTOYAGE_MODE_AVEC_UN_TAG</a><br />
                                                            </section>
                        </section>
                        <section class="row-fluid protected">
                            <section class="span4">
                                                                    <a href="../classes/Cache.html#method_validerIdOuTag" class="">validerIdOuTag()</a><br />
                                                                    <a href="../classes/Cache.html#method_validerTableauDeTags" class="">validerTableauDeTags()</a><br />
                                                            </section>
                            <section class="span4">
                                                                    <a href="../classes/Cache.html#property_options" class="">$options</a><br />
                                                                    <a href="../classes/Cache.html#property_stockage" class="">$stockage</a><br />
                                                            </section>
                            <section class="span4">
                                <em>N/A</em>
                            </section>
                        </section>
                        <section class="row-fluid private">
                            <section class="span4">
                                                                    <a href="../classes/Cache.html#method_initialiserOptionsParConfig" class="">initialiserOptionsParConfig()</a><br />
                                                                    <a href="../classes/Cache.html#method_setOptions" class="">setOptions()</a><br />
                                                                    <a href="../classes/Cache.html#method_prefixerId" class="">prefixerId()</a><br />
                                                                    <a href="../classes/Cache.html#method_executerMethodeStockage" class="">executerMethodeStockage()</a><br />
                                                                    <a href="../classes/Cache.html#method_supprimerPrefixe" class="">supprimerPrefixe()</a><br />
                                                                    <a href="../classes/Cache.html#method_controlerEcriture" class="">controlerEcriture()</a><br />
                                                                    <a href="../classes/Cache.html#method_deserialiserAutomatiquement" class="">deserialiserAutomatiquement()</a><br />
                                                                    <a href="../classes/Cache.html#method_serialiserAutomatiquement" class="">serialiserAutomatiquement()</a><br />
                                                                    <a href="../classes/Cache.html#method_nettoyerAutomatiquement" class="">nettoyerAutomatiquement()</a><br />
                                                            </section>
                            <section class="span4">
                                                                    <a href="../classes/Cache.html#property_dernier_id" class="">$dernier_id</a><br />
                                                            </section>
                            <section class="span4">
                                <em>N/A</em>
                            </section>
                        </section>
                    </section>
                </div>
                <aside class="span4 detailsbar">
                                        
                    
                    <dl>
                        <dt>File</dt>
                            <dd><a href="../files/Cache.php.html"><div class="path-wrapper">Cache.php</div></a></dd>
                                                <dt>Package</dt>
                            <dd><div class="namespace-wrapper">\Framework</div></dd>
                                                <dt>Class hierarchy</dt>
                            <dd class="hierarchy">
                                                                                                                                                                    <div class="namespace-wrapper">\Cache</div>
                            </dd>

                        
                        
                        
                                                                            <dt>See also</dt>
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
                                                    
                                                                        </dl>
                    <h2>Tags</h2>
                    <table class="table table-condensed">
                                            <tr>
                            <th>
                                category
                            </th>
                            <td>
                                                                    <p>php 5.2</p>
                                                            </td>
                        </tr>
                                            <tr>
                            <th>
                                author
                            </th>
                            <td>
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
                                                            </td>
                        </tr>
                                            <tr>
                            <th>
                                copyright
                            </th>
                            <td>
                                                                    <p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
                                                            </td>
                        </tr>
                                            <tr>
                            <th>
                                license
                            </th>
                            <td>
                                                                    <p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> Licence New BSD</p>
                                                                    <p><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt</a> Licence CECILL</p>
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
                                                            </td>
                        </tr>
                                            <tr>
                            <th>
                                version
                            </th>
                            <td>
                                                                    <p>$Id: Cache.php 299 2011-01-18 14:03:46Z jpm $</p>
                                                            </td>
                        </tr>
                                            <tr>
                            <th>
                                todo
                            </th>
                            <td>
                                                            </td>
                        </tr>
                                        </table>
                </aside>
            </div>

                                    <a id="constants" name="constants"></a>
            <div class="row-fluid">
                <div class="span8 content class">
                    <h2>Constants</h2>
                </div>
                <aside class="span4 detailsbar"></aside>
            </div>

                                <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_STOCKAGE_MODE_SIMPLE" name="constant_STOCKAGE_MODE_SIMPLE" class="anchor"></a>
            <article id="constant_STOCKAGE_MODE_SIMPLE" class="constant">
                <h3 class="">STOCKAGE_MODE_SIMPLE</h3>
                <pre class="signature">STOCKAGE_MODE_SIMPLE</pre>
                <p><em>Socke les enregistrements du cache dans des fichiers textes de façon extremement simple.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_STOCKAGE_MODE_FICHIER" name="constant_STOCKAGE_MODE_FICHIER" class="anchor"></a>
            <article id="constant_STOCKAGE_MODE_FICHIER" class="constant">
                <h3 class="">STOCKAGE_MODE_FICHIER</h3>
                <pre class="signature">STOCKAGE_MODE_FICHIER</pre>
                <p><em>Socke les enregistrements du cache dans des fichiers textes.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_STOCKAGE_MODE_SQLITE" name="constant_STOCKAGE_MODE_SQLITE" class="anchor"></a>
            <article id="constant_STOCKAGE_MODE_SQLITE" class="constant">
                <h3 class="">STOCKAGE_MODE_SQLITE</h3>
                <pre class="signature">STOCKAGE_MODE_SQLITE</pre>
                <p><em>Socke les enregistrements du cache dans une base de données SQLite.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_NETTOYAGE_MODE_TOUS" name="constant_NETTOYAGE_MODE_TOUS" class="anchor"></a>
            <article id="constant_NETTOYAGE_MODE_TOUS" class="constant">
                <h3 class="">NETTOYAGE_MODE_TOUS</h3>
                <pre class="signature">NETTOYAGE_MODE_TOUS</pre>
                <p><em>&#039;tous&#039; (par défaut) : supprime tous les enregistrements.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_NETTOYAGE_MODE_EXPIRATION" name="constant_NETTOYAGE_MODE_EXPIRATION" class="anchor"></a>
            <article id="constant_NETTOYAGE_MODE_EXPIRATION" class="constant">
                <h3 class="">NETTOYAGE_MODE_EXPIRATION</h3>
                <pre class="signature">NETTOYAGE_MODE_EXPIRATION</pre>
                <p><em>&#039;expiration&#039; : supprime tous les enregistrements dont la date d&#039;expériration est dépassée.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_NETTOYAGE_MODE_AVEC_LES_TAGS" name="constant_NETTOYAGE_MODE_AVEC_LES_TAGS" class="anchor"></a>
            <article id="constant_NETTOYAGE_MODE_AVEC_LES_TAGS" class="constant">
                <h3 class="">NETTOYAGE_MODE_AVEC_LES_TAGS</h3>
                <pre class="signature">NETTOYAGE_MODE_AVEC_LES_TAGS</pre>
                <p><em>&#039;avecLesTags&#039; : supprime tous les enregistrements contenant tous les tags indiqués.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_NETTOYAGE_MODE_SANS_LES_TAGS" name="constant_NETTOYAGE_MODE_SANS_LES_TAGS" class="anchor"></a>
            <article id="constant_NETTOYAGE_MODE_SANS_LES_TAGS" class="constant">
                <h3 class="">NETTOYAGE_MODE_SANS_LES_TAGS</h3>
                <pre class="signature">NETTOYAGE_MODE_SANS_LES_TAGS</pre>
                <p><em>&#039;sansLesTags&#039; : supprime tous les enregistrements contenant aucun des tags indiqués.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="constant_NETTOYAGE_MODE_AVEC_UN_TAG" name="constant_NETTOYAGE_MODE_AVEC_UN_TAG" class="anchor"></a>
            <article id="constant_NETTOYAGE_MODE_AVEC_UN_TAG" class="constant">
                <h3 class="">NETTOYAGE_MODE_AVEC_UN_TAG</h3>
                <pre class="signature">NETTOYAGE_MODE_AVEC_UN_TAG</pre>
                <p><em>&#039;avecUnTag&#039; : supprime tous les enregistrements contenant au moins un des tags indiqués.</em></p>
                
            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                            
                                    <a id="properties" name="properties"></a>
            <div class="row-fluid">
                <div class="span8 content class">
                    <h2>Properties</h2>
                </div>
                <aside class="span4 detailsbar"></aside>
            </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property_options" name="property_options" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$options</h3>
                <pre class="signature">$options : array</pre>
                <p><em>Les options disponibles pour le cache :
====&gt; (string) stockage_mode :
Indique le mode de stockage du cache à utiliser parmis :
- Cache::STOCKAGE_MODE_FICHIER : sous forme d&#039;une arborescence de fichiers et dossier
- Cache::STOCKAGE_MODE_SQLITE : sous forme d&#039;une base de données SQLite</em></p>
                <p>====> (string) stockage_chemin :
Chemin vers :</p>
<ul>
<li>Cache::STOCKAGE_MODE_FICHIER : le dossier devant contenir l'arborescence.</li>
<li>Cache::STOCKAGE_MODE_SQLITE : le fichier contenant la base SQLite.</li>
</ul>
<p>====> (boolean) controle_ecriture :</p>
<ul>
<li>Active / Désactive le controle d'écriture (le cache est lue jute après l'écriture du fichier pour détecter sa corruption)</li>
<li>Activer le controle d'écriture ralentira légèrement l'écriture du fichier de cache mais pas sa lecture
Le controle d'écriture peut détecter la corruption de fichier mais ce n'est pas un système de controle parfait.</li>
</ul>
<p>====> (boolean) mise_en_cache :</p>
<ul>
<li>Active / Désactive la mise en cache
(peut être très utile pour le débogage des scripts utilisant le cache</li>
</ul>
<p>=====> (string) cache_id_prefixe :</p>
<ul>
<li>préfixe pour les identifiant de cache ( = espace de nom)</li>
</ul>
<p>====> (boolean) serialisation_auto :</p>
<ul>
<li>Active / Désactive la sérialisation automatique</li>
<li>Peut être utilisé pour sauver directement des données qui ne sont pas des chaines (mais c'est plus lent)</li>
</ul>
<p>====> (int) nettoyage_auto :</p>
<ul>
<li>Désactive / Régler le processus de nettoyage automatique</li>
<li>Le processus de nettoyage automatiques détruit les fichier trop vieux (pour la durée de vie donnée)
quand un nouveau fichier de cache est écrit :
0               => pas de nettoyage automatique
1               => nettoyage automatique systématique
x (integer) > 1 => nettoyage automatique toutes les 1 fois (au hasard) sur x écriture de fichier de cache</li>
</ul>
<p>====> (int) duree_de_vie :</p>
<ul>
<li>Durée de vie du cache (en secondes)</li>
<li>Si null, le cache est valide indéfiniment.</li>
</ul>

                                <h4>Type</h4>
                array
                &mdash; les options disponibles pour le cache .                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property_stockage" name="property_stockage" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$stockage</h3>
                <pre class="signature">$stockage</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property_dernier_id" name="property_dernier_id" class="anchor"></a>
            <article class="property">
                <h3 class="private ">$dernier_id</h3>
                <pre class="signature">$dernier_id : string</pre>
                <p><em>Dernier identifiant de cache utilisé.</em></p>
                

                                <h4>Type</h4>
                string
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                            
                                    <a id="methods" name="methods"></a>
            <div class="row-fluid">
                <div class="span8 content class"><h2>Methods</h2></div>
                <aside class="span4 detailsbar"></aside>
            </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method___construct" name="method___construct" class="anchor"></a>
            <article class="method">
                <h3 class="public ">__construct()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">__construct( <span class="argument">$options</span>,  <span class="argument">$options_stockage</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$options</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$options_stockage</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_setEmplacement" name="method_setEmplacement" class="anchor"></a>
            <article class="method">
                <h3 class="public ">setEmplacement()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">setEmplacement(string <span class="argument">$emplacement</span>) : void</pre>
                <p><em>Permet de (re-)définir l&#039;emplacement pour le stockage du cache.</em></p>
                <p>En fonction du mode de stockage utilisé , l'emplacement indiqué correspondra au chemin du :</p>
<ul>
<li>dossier où stocker les fichiers pour le mode "fichier".</li>
<li>fichier de la base de données pour le mode "sqlite".</li>
</ul>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$emplacement</td>
                                <td><p>chemin vers dossier (Cache::STOCKAGE_MODE_FICHIER) ou fichier base Sqlite (Cache::STOCKAGE_MODE_SQLITE)</p></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_fabriquer" name="method_fabriquer" class="anchor"></a>
            <article class="method">
                <h3 class="public ">fabriquer()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">fabriquer( <span class="argument">$mode</span>,  <span class="argument">$options</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$mode</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$options</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                            <span class="label label-info">static</span>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_charger" name="method_charger" class="anchor"></a>
            <article class="method">
                <h3 class="public ">charger()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">charger(string <span class="argument">$id</span>, boolean <span class="argument">$ne_pas_tester_validiter_du_cache</span>) : mixed|false</pre>
                <p><em>Teste si un cache est disponible pour l&#039;identifiant donné et (si oui) le retourne (false dans le cas contraire)</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>Identifiant de cache.</p></td>
                            </tr>
                                                    <tr>
                                <td>boolean</td>
                                <td>$ne_pas_tester_validiter_du_cache</td>
                                <td><p>Si mis à true, la validité du cache n'est pas testée</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    mixed|false
                                            &mdash; <p>Cached datas</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_tester" name="method_tester" class="anchor"></a>
            <article class="method">
                <h3 class="public ">tester()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">tester(string <span class="argument">$id</span>) : int|false</pre>
                <p><em>Test if a cache is available for the given id</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>Cache id</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    int|false
                                            &mdash; <p>Last modified time of cache entry if it is available, false otherwise</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_sauver" name="method_sauver" class="anchor"></a>
            <article class="method">
                <h3 class="public ">sauver()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">sauver(mixed <span class="argument">$donnees</span>, string <span class="argument">$id</span>, array <span class="argument">$tags</span>, int <span class="argument">$duree_de_vie_specifique</span>) : boolean</pre>
                <p><em>Sauvegarde en cache les données passées en paramètre.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>mixed</td>
                                <td>$donnees</td>
                                <td><p>Données à mettre en cache (peut être différent d'une chaine si serialisation_auto vaut true).</p></td>
                            </tr>
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>Identifiant du cache (s'il n'est pas définit, le dernier identifiant sera utilisé).</p></td>
                            </tr>
                                                    <tr>
                                <td>array</td>
                                <td>$tags</td>
                                <td><p>Mots-clés du cache.</p></td>
                            </tr>
                                                    <tr>
                                <td>int</td>
                                <td>$duree_de_vie_specifique</td>
                                <td><p>Si != false, indique une durée de vie spécifique pour cet enregistrement en cache (null => durée de vie infinie)</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                            &mdash; <p>True si aucun problème n'est survenu.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_supprimer" name="method_supprimer" class="anchor"></a>
            <article class="method">
                <h3 class="public ">supprimer()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">supprimer(string <span class="argument">$id</span>) : boolean</pre>
                <p><em>Supprime un enregistrement en cache.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>Identificant du cache à supprimer.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                            &mdash; <p>True si ok</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_nettoyer" name="method_nettoyer" class="anchor"></a>
            <article class="method">
                <h3 class="public ">nettoyer()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">nettoyer(string <span class="argument">$mode</span>, array|string <span class="argument">$tags</span>) : boolean</pre>
                <p><em>Nettoyage des enregistrements en cache</em></p>
                <p>Mode de nettoyage disponibles :
'tous' (défaut)    => supprime tous les enregistrements ($tags n'est pas utilisé)
'expiration'        => supprime tous les enregistrements dont la date d'expériration est dépassée ($tags n'est pas utilisé)
'avecLesTag'        => supprime tous les enregistrements contenant tous les tags indiqués
'sansLesTag'        => supprime tous les enregistrements contenant aucun des tags indiqués
'avecUnTag'            => supprime tous les enregistrements contenant au moins un des tags indiqués</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$mode</td>
                                <td><p>mode de nettoyage</p></td>
                            </tr>
                                                    <tr>
                                <td>array|string</td>
                                <td>$tags</td>
                                <td><p>peut être un tableau de chaîne ou une simple chaine.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                            &mdash; <p>True si ok</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getIds" name="method_getIds" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getIds()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getIds() : array</pre>
                <p><em>Return an array of stored cache ids</em></p>
                

                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>array of stored cache ids (string)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getTags" name="method_getTags" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getTags()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getTags() : array</pre>
                <p><em>Return an array of stored tags</em></p>
                

                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>array of stored tags (string)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getIdsAvecLesTags" name="method_getIdsAvecLesTags" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getIdsAvecLesTags()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getIdsAvecLesTags(array <span class="argument">$tags</span>) : array</pre>
                <p><em>Return an array of stored cache ids which match given tags</em></p>
                <p>In case of multiple tags, a logical AND is made between tags</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>array</td>
                                <td>$tags</td>
                                <td><p>array of tags</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>array of matching cache ids (string)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getIdsSansLesTags" name="method_getIdsSansLesTags" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getIdsSansLesTags()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getIdsSansLesTags(array <span class="argument">$tags</span>) : array</pre>
                <p><em>Return an array of stored cache ids which don&#039;t match given tags</em></p>
                <p>In case of multiple tags, a logical OR is made between tags</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>array</td>
                                <td>$tags</td>
                                <td><p>array of tags</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>array of not matching cache ids (string)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getIdsAvecUnTag" name="method_getIdsAvecUnTag" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getIdsAvecUnTag()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getIdsAvecUnTag(array <span class="argument">$tags</span>) : array</pre>
                <p><em>Return an array of stored cache ids which match any given tags</em></p>
                <p>In case of multiple tags, a logical OR is made between tags</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>array</td>
                                <td>$tags</td>
                                <td><p>array of tags</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>array of matching any cache ids (string)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getPourcentageRemplissage" name="method_getPourcentageRemplissage" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getPourcentageRemplissage()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getPourcentageRemplissage() : int</pre>
                <p><em>Return the filling percentage of the backend storage</em></p>
                

                
                
                                    <h4>Returns</h4>
                    int
                                            &mdash; <p>integer between 0 and 100</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getMetadonnees" name="method_getMetadonnees" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getMetadonnees()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getMetadonnees(string <span class="argument">$id</span>) : array</pre>
                <p><em>Return an array of metadatas for the given cache id</em></p>
                <p>The array will include these keys :</p>
<ul>
<li>expire : the expire timestamp</li>
<li>tags : a string array of tags</li>
<li>mtime : timestamp of last modification time</li>
</ul>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>cache id</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>array of metadatas (false if the cache id is not found)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_ajouterSupplementDureeDeVie" name="method_ajouterSupplementDureeDeVie" class="anchor"></a>
            <article class="method">
                <h3 class="public ">ajouterSupplementDureeDeVie()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">ajouterSupplementDureeDeVie(string <span class="argument">$id</span>,  <span class="argument">$supplement_duree_de_vie</span>) : boolean</pre>
                <p><em>Give (if possible) an extra lifetime to the given cache id</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>cache id</p></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$supplement_duree_de_vie</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                            &mdash; <p>true if ok</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getTimestampExpiration" name="method_getTimestampExpiration" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getTimestampExpiration()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getTimestampExpiration( <span class="argument">$duree_de_vie</span>) : int</pre>
                <p><em>Calcule et retourne le timestamp d&#039;expiration</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$duree_de_vie</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    int
                                            &mdash; <p>timestamp d'expiration (unix timestamp)</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_validerIdOuTag" name="method_validerIdOuTag" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">validerIdOuTag()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">validerIdOuTag(string <span class="argument">$chaine</span>) : void</pre>
                <p><em>Valide un identifiant de cache ou un tag (securité, nom de fichiers fiables, préfixes réservés.</em></p>
                <p>..)</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$chaine</td>
                                <td><p>Identificant de cache ou tag</p></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                            <span class="label label-info">static</span>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_validerTableauDeTags" name="method_validerTableauDeTags" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">validerTableauDeTags()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">validerTableauDeTags(array <span class="argument">$tags</span>) : void</pre>
                <p><em>Valide un tableau de tags  (securité, nom de fichiers fiables, préfixes réservés.</em></p>
                <p>..)</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>array</td>
                                <td>$tags</td>
                                <td><p>tableau de tags</p></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                            <span class="label label-info">static</span>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_initialiserOptionsParConfig" name="method_initialiserOptionsParConfig" class="anchor"></a>
            <article class="method">
                <h3 class="private ">initialiserOptionsParConfig()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">initialiserOptionsParConfig()</pre>
                <p><em></em></p>
                

                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_setOptions" name="method_setOptions" class="anchor"></a>
            <article class="method">
                <h3 class="private ">setOptions()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">setOptions( <span class="argument">$options</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$options</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_prefixerId" name="method_prefixerId" class="anchor"></a>
            <article class="method">
                <h3 class="private ">prefixerId()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">prefixerId(string <span class="argument">$id</span>) : string</pre>
                <p><em>Fabrique et retourne l&#039;identifiant du cache avec son préfixe.</em></p>
                <p>Vérifie l'option 'cache_id_prefixe' et retourne le nouvel id avec préfixe ou simplement l'id lui même si elle vaut null.</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$id</td>
                                <td><p>Identifiant du cache.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    string
                                            &mdash; <p>Identifiant du cache avec ou sans préfixe.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_executerMethodeStockage" name="method_executerMethodeStockage" class="anchor"></a>
            <article class="method">
                <h3 class="private ">executerMethodeStockage()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">executerMethodeStockage( <span class="argument">$methode</span>,  <span class="argument">$params</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$methode</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$params</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_supprimerPrefixe" name="method_supprimerPrefixe" class="anchor"></a>
            <article class="method">
                <h3 class="private ">supprimerPrefixe()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">supprimerPrefixe( <span class="argument">$ids</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$ids</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_controlerEcriture" name="method_controlerEcriture" class="anchor"></a>
            <article class="method">
                <h3 class="private ">controlerEcriture()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">controlerEcriture( <span class="argument">$id</span>,  <span class="argument">$donnees_avant_ecriture</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$id</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$donnees_avant_ecriture</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_deserialiserAutomatiquement" name="method_deserialiserAutomatiquement" class="anchor"></a>
            <article class="method">
                <h3 class="private ">deserialiserAutomatiquement()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">deserialiserAutomatiquement( <span class="argument">$donnees</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$donnees</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_serialiserAutomatiquement" name="method_serialiserAutomatiquement" class="anchor"></a>
            <article class="method">
                <h3 class="private ">serialiserAutomatiquement()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">serialiserAutomatiquement( <span class="argument">$donnees</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$donnees</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_nettoyerAutomatiquement" name="method_nettoyerAutomatiquement" class="anchor"></a>
            <article class="method">
                <h3 class="private ">nettoyerAutomatiquement()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">nettoyerAutomatiquement()</pre>
                <p><em></em></p>
                

                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    </div>
    </section>

    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="source-view-label">Cache.php</h3>
        </div>
        <div class="modal-body">
            <pre data-src="../files/Cache.php.txt" class="language-php line-numbers"></pre>
        </div>
    </div>

    <footer class="row-fluid">
        <section class="span10 offset2">
            <section class="row-fluid">
                <section class="span10 offset1">
                    <section class="row-fluid footer-sections">
                        <section class="span4">
                                                        <h1><i class="icon-code"></i></h1>
                            <div>
                                <ul>
                                                                    </ul>
                            </div>
                        </section>
                        <section class="span4">
                                                        <h1><i class="icon-bar-chart"></i></h1>
                            <div>
                                <ul>
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
                                </ul>
                            </div>
                        </section>
                        <section class="span4">
                                                        <h1><i class="icon-pushpin"></i></h1>
                            <div>
                                <ul>
                                    <li><a href="../reports/errors.html">Errors</a></li>
                                    <li><a href="../reports/markers.html">Markers</a></li>
                                </ul>
                            </div>
                        </section>
                    </section>
                </section>
            </section>
            <section class="row-fluid">
                <section class="span10 offset1">
                    <hr />
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
                    on March 12th, 2014 at 15:57.
                </section>
            </section>
        </section>
    </footer>
</div>

</body>
</html>