atelierspierrot/patterns

View on GitHub
phpdoc/sami.js

Summary

Maintainability
A
0 mins
Test Coverage

(function(root) {

    var bhIndex = null;
    var rootPath = '';
    var treeHtml = '        <ul>                <li data-name="namespace:" class="opened">                    <div style="padding-left:0px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href=".html">Patterns</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="namespace:Patterns_Abstracts" class="opened">                    <div style="padding-left:18px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="Patterns/Abstracts.html">Abstracts</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:Patterns_Abstracts_AbstractAccessible" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Abstracts/AbstractAccessible.html">AbstractAccessible</a>                    </div>                </li>                            <li data-name="class:Patterns_Abstracts_AbstractOptionable" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Abstracts/AbstractOptionable.html">AbstractOptionable</a>                    </div>                </li>                            <li data-name="class:Patterns_Abstracts_AbstractSingleton" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Abstracts/AbstractSingleton.html">AbstractSingleton</a>                    </div>                </li>                            <li data-name="class:Patterns_Abstracts_AbstractStaticCreator" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Abstracts/AbstractStaticCreator.html">AbstractStaticCreator</a>                    </div>                </li>                            <li data-name="class:Patterns_Abstracts_AbstractView" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Abstracts/AbstractView.html">AbstractView</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:Patterns_Commons" class="opened">                    <div style="padding-left:18px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="Patterns/Commons.html">Commons</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:Patterns_Commons_Collection" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Commons/Collection.html">Collection</a>                    </div>                </li>                            <li data-name="class:Patterns_Commons_ConfigurationRegistry" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Commons/ConfigurationRegistry.html">ConfigurationRegistry</a>                    </div>                </li>                            <li data-name="class:Patterns_Commons_Registry" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Commons/Registry.html">Registry</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:Patterns_Interfaces" class="opened">                    <div style="padding-left:18px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="Patterns/Interfaces.html">Interfaces</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:Patterns_Interfaces_AccessibleInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/AccessibleInterface.html">AccessibleInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_ArrayInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/ArrayInterface.html">ArrayInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_CachableInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/CachableInterface.html">CachableInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_CollectionInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/CollectionInterface.html">CollectionInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_CrudInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/CrudInterface.html">CrudInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_DebuggableInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/DebuggableInterface.html">DebuggableInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_IteratorInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/IteratorInterface.html">IteratorInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_OptionableInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/OptionableInterface.html">OptionableInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_RepositoryInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/RepositoryInterface.html">RepositoryInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_RequestInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/RequestInterface.html">RequestInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_ResponseInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/ResponseInterface.html">ResponseInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_RouterInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/RouterInterface.html">RouterInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_SingletonInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/SingletonInterface.html">SingletonInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_StaticCreatorInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/StaticCreatorInterface.html">StaticCreatorInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_StaticOptionableInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/StaticOptionableInterface.html">StaticOptionableInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_TranslatableInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/TranslatableInterface.html">TranslatableInterface</a>                    </div>                </li>                            <li data-name="class:Patterns_Interfaces_ViewInterface" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Interfaces/ViewInterface.html">ViewInterface</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:Patterns_Traits" class="opened">                    <div style="padding-left:18px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="Patterns/Traits.html">Traits</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:Patterns_Traits_AccessibleTrait" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Traits/AccessibleTrait.html">AccessibleTrait</a>                    </div>                </li>                            <li data-name="class:Patterns_Traits_OptionableTrait" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Traits/OptionableTrait.html">OptionableTrait</a>                    </div>                </li>                            <li data-name="class:Patterns_Traits_SingletonTrait" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Traits/SingletonTrait.html">SingletonTrait</a>                    </div>                </li>                            <li data-name="class:Patterns_Traits_TemplateViewTrait" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="Patterns/Traits/TemplateViewTrait.html">TemplateViewTrait</a>                    </div>                </li>                </ul></div>                </li>                </ul></div>                </li>                </ul>';

    var searchTypeClasses = {
        'Namespace': 'label-default',
        'Class': 'label-info',
        'Interface': 'label-primary',
        'Trait': 'label-success',
        'Method': 'label-danger',
        '_': 'label-warning'
    };

    var searchIndex = [
                    
            {"type": "Namespace", "link": "Patterns.html", "name": "Patterns", "doc": "Namespace Patterns"},{"type": "Namespace", "link": "Patterns/Abstracts.html", "name": "Patterns\\Abstracts", "doc": "Namespace Patterns\\Abstracts"},{"type": "Namespace", "link": "Patterns/Commons.html", "name": "Patterns\\Commons", "doc": "Namespace Patterns\\Commons"},{"type": "Namespace", "link": "Patterns/Interfaces.html", "name": "Patterns\\Interfaces", "doc": "Namespace Patterns\\Interfaces"},{"type": "Namespace", "link": "Patterns/Traits.html", "name": "Patterns\\Traits", "doc": "Namespace Patterns\\Traits"},
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/AccessibleInterface.html", "name": "Patterns\\Interfaces\\AccessibleInterface", "doc": "&quot;Magic properties accessors&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___set", "name": "Patterns\\Interfaces\\AccessibleInterface::__set", "doc": "&quot;Set an object property, accessing it by \&quot;setVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___get", "name": "Patterns\\Interfaces\\AccessibleInterface::__get", "doc": "&quot;Get an object property, accessing it by \&quot;getVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___isset", "name": "Patterns\\Interfaces\\AccessibleInterface::__isset", "doc": "&quot;Test if an object property has been set, using the \&quot;issetVariable\&quot; method if defined&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___unset", "name": "Patterns\\Interfaces\\AccessibleInterface::__unset", "doc": "&quot;Test if an object property has been set, using the \&quot;unsetVariable\&quot; method if defined&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/ArrayInterface.html", "name": "Patterns\\Interfaces\\ArrayInterface", "doc": "&quot;Array interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_shift", "name": "Patterns\\Interfaces\\ArrayInterface::shift", "doc": "&quot;Deletes a value at the beginning of the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_pop", "name": "Patterns\\Interfaces\\ArrayInterface::pop", "doc": "&quot;Deletes a value at the end of the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_unshift", "name": "Patterns\\Interfaces\\ArrayInterface::unshift", "doc": "&quot;Pushes a new value at the beginning of the collection, with no specific index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_push", "name": "Patterns\\Interfaces\\ArrayInterface::push", "doc": "&quot;Pushes a new value at the end of the collection, with no specific index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_count", "name": "Patterns\\Interfaces\\ArrayInterface::count", "doc": "&quot;Counts the number of entries in the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_each", "name": "Patterns\\Interfaces\\ArrayInterface::each", "doc": "&quot;Returns the current key=&gt;value pair and put increase the index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_in_array", "name": "Patterns\\Interfaces\\ArrayInterface::in_array", "doc": "&quot;Search a value in the current array and returns true if so&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_key_exists", "name": "Patterns\\Interfaces\\ArrayInterface::key_exists", "doc": "&quot;Search if an entry exists with this key&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_values", "name": "Patterns\\Interfaces\\ArrayInterface::values", "doc": "&quot;Returns an array with all values of the original array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_keys", "name": "Patterns\\Interfaces\\ArrayInterface::keys", "doc": "&quot;Returns an array with all keys of the original array&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/CachableInterface.html", "name": "Patterns\\Interfaces\\CachableInterface", "doc": "&quot;Manage a cachable item object&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_getCacheKey", "name": "Patterns\\Interfaces\\CachableInterface::getCacheKey", "doc": "&quot;Get the key of the current cached item&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_isCached", "name": "Patterns\\Interfaces\\CachableInterface::isCached", "doc": "&quot;Test if an item is already cached and if its cache is still valid&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_getCache", "name": "Patterns\\Interfaces\\CachableInterface::getCache", "doc": "&quot;Get a cache content for an item&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_setCache", "name": "Patterns\\Interfaces\\CachableInterface::setCache", "doc": "&quot;Set a cache content for an item&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_invalidateCache", "name": "Patterns\\Interfaces\\CachableInterface::invalidateCache", "doc": "&quot;Clear a cache content for an item&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/CollectionInterface.html", "name": "Patterns\\Interfaces\\CollectionInterface", "doc": "&quot;Collection interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_setCollection", "name": "Patterns\\Interfaces\\CollectionInterface::setCollection", "doc": "&quot;Set the collection content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_getCollection", "name": "Patterns\\Interfaces\\CollectionInterface::getCollection", "doc": "&quot;Get the collection content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_getEntry", "name": "Patterns\\Interfaces\\CollectionInterface::getEntry", "doc": "&quot;Gets a collection entry value by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_setEntry", "name": "Patterns\\Interfaces\\CollectionInterface::setEntry", "doc": "&quot;Sets a collection entry value by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_issetEntry", "name": "Patterns\\Interfaces\\CollectionInterface::issetEntry", "doc": "&quot;Check if a collection entry exists by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_unsetEntry", "name": "Patterns\\Interfaces\\CollectionInterface::unsetEntry", "doc": "&quot;Deletes a collection entry by its index&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/CrudInterface.html", "name": "Patterns\\Interfaces\\CrudInterface", "doc": "&quot;An interface for a basic CRUD model&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_create", "name": "Patterns\\Interfaces\\CrudInterface::create", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_read", "name": "Patterns\\Interfaces\\CrudInterface::read", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_update", "name": "Patterns\\Interfaces\\CrudInterface::update", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_delete", "name": "Patterns\\Interfaces\\CrudInterface::delete", "doc": "&quot;\n&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/DebuggableInterface.html", "name": "Patterns\\Interfaces\\DebuggableInterface", "doc": "&quot;A simple interface to manage a debuggable object&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\DebuggableInterface", "fromLink": "Patterns/Interfaces/DebuggableInterface.html", "link": "Patterns/Interfaces/DebuggableInterface.html#method_setDebug", "name": "Patterns\\Interfaces\\DebuggableInterface::setDebug", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\DebuggableInterface", "fromLink": "Patterns/Interfaces/DebuggableInterface.html", "link": "Patterns/Interfaces/DebuggableInterface.html#method_getDebug", "name": "Patterns\\Interfaces\\DebuggableInterface::getDebug", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\DebuggableInterface", "fromLink": "Patterns/Interfaces/DebuggableInterface.html", "link": "Patterns/Interfaces/DebuggableInterface.html#method_isDebug", "name": "Patterns\\Interfaces\\DebuggableInterface::isDebug", "doc": "&quot;\n&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/IteratorInterface.html", "name": "Patterns\\Interfaces\\IteratorInterface", "doc": "&quot;Iterator interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_reset", "name": "Patterns\\Interfaces\\IteratorInterface::reset", "doc": "&quot;Put the index value at 0\nThis must be an alias of \\Iterator::rewind()&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_end", "name": "Patterns\\Interfaces\\IteratorInterface::end", "doc": "&quot;Put the index value at the last index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_pos", "name": "Patterns\\Interfaces\\IteratorInterface::pos", "doc": "&quot;Get the current index\nThis must be an alias of \\Iterator::current()&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_prev", "name": "Patterns\\Interfaces\\IteratorInterface::prev", "doc": "&quot;Decrease the current index&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/OptionableInterface.html", "name": "Patterns\\Interfaces\\OptionableInterface", "doc": "&quot;A simple interface to manage a set of options&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_setOptions", "name": "Patterns\\Interfaces\\OptionableInterface::setOptions", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_setOption", "name": "Patterns\\Interfaces\\OptionableInterface::setOption", "doc": "&quot;Set the value of a specific option&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_getOptions", "name": "Patterns\\Interfaces\\OptionableInterface::getOptions", "doc": "&quot;Get the array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_getOption", "name": "Patterns\\Interfaces\\OptionableInterface::getOption", "doc": "&quot;Get the value of a specific option&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/RepositoryInterface.html", "name": "Patterns\\Interfaces\\RepositoryInterface", "doc": "&quot;A simple interface to manage a model repository&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\RepositoryInterface", "fromLink": "Patterns/Interfaces/RepositoryInterface.html", "link": "Patterns/Interfaces/RepositoryInterface.html#method_getAll", "name": "Patterns\\Interfaces\\RepositoryInterface::getAll", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RepositoryInterface", "fromLink": "Patterns/Interfaces/RepositoryInterface.html", "link": "Patterns/Interfaces/RepositoryInterface.html#method_getOneBy", "name": "Patterns\\Interfaces\\RepositoryInterface::getOneBy", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RepositoryInterface", "fromLink": "Patterns/Interfaces/RepositoryInterface.html", "link": "Patterns/Interfaces/RepositoryInterface.html#method_exists", "name": "Patterns\\Interfaces\\RepositoryInterface::exists", "doc": "&quot;\n&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/RequestInterface.html", "name": "Patterns\\Interfaces\\RequestInterface", "doc": "&quot;Interface for classic request handling&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getUrl", "name": "Patterns\\Interfaces\\RequestInterface::getUrl", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getProtocol", "name": "Patterns\\Interfaces\\RequestInterface::getProtocol", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getMethod", "name": "Patterns\\Interfaces\\RequestInterface::getMethod", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getHeaders", "name": "Patterns\\Interfaces\\RequestInterface::getHeaders", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getArguments", "name": "Patterns\\Interfaces\\RequestInterface::getArguments", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getData", "name": "Patterns\\Interfaces\\RequestInterface::getData", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getFiles", "name": "Patterns\\Interfaces\\RequestInterface::getFiles", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getSession", "name": "Patterns\\Interfaces\\RequestInterface::getSession", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getCookies", "name": "Patterns\\Interfaces\\RequestInterface::getCookies", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getAuthentication", "name": "Patterns\\Interfaces\\RequestInterface::getAuthentication", "doc": "&quot;\n&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/ResponseInterface.html", "name": "Patterns\\Interfaces\\ResponseInterface", "doc": "&quot;Interface for classic response handling&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_redirect", "name": "Patterns\\Interfaces\\ResponseInterface::redirect", "doc": "&quot;Make a redirection by headers&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_send", "name": "Patterns\\Interfaces\\ResponseInterface::send", "doc": "&quot;Send the response to the device&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_download", "name": "Patterns\\Interfaces\\ResponseInterface::download", "doc": "&quot;Force device to download a file&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_flush", "name": "Patterns\\Interfaces\\ResponseInterface::flush", "doc": "&quot;Flush (display) a file content&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/RouterInterface.html", "name": "Patterns\\Interfaces\\RouterInterface", "doc": "&quot;\n&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_setRoutes", "name": "Patterns\\Interfaces\\RouterInterface::setRoutes", "doc": "&quot;Set the routes collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_getRoutes", "name": "Patterns\\Interfaces\\RouterInterface::getRoutes", "doc": "&quot;Get the routes collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_routeExists", "name": "Patterns\\Interfaces\\RouterInterface::routeExists", "doc": "&quot;Check if a route exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_getRoute", "name": "Patterns\\Interfaces\\RouterInterface::getRoute", "doc": "&quot;Get the current route requested&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_generateUrl", "name": "Patterns\\Interfaces\\RouterInterface::generateUrl", "doc": "&quot;Build a new route URL&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_matchUrl", "name": "Patterns\\Interfaces\\RouterInterface::matchUrl", "doc": "&quot;Distribute the current URL to the corresponding route&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_distribute", "name": "Patterns\\Interfaces\\RouterInterface::distribute", "doc": "&quot;Actually dispatch the current route&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_forward", "name": "Patterns\\Interfaces\\RouterInterface::forward", "doc": "&quot;Forward the application to a new route (no HTTP redirect)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_redirect", "name": "Patterns\\Interfaces\\RouterInterface::redirect", "doc": "&quot;Make a redirection to a new route (HTTP redirect)&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/SingletonInterface.html", "name": "Patterns\\Interfaces\\SingletonInterface", "doc": "&quot;A basic singleton interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\SingletonInterface", "fromLink": "Patterns/Interfaces/SingletonInterface.html", "link": "Patterns/Interfaces/SingletonInterface.html#method_getInstance", "name": "Patterns\\Interfaces\\SingletonInterface::getInstance", "doc": "&quot;This must return (and create if necessary) the object&#039;s instance&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\SingletonInterface", "fromLink": "Patterns/Interfaces/SingletonInterface.html", "link": "Patterns/Interfaces/SingletonInterface.html#method___clone", "name": "Patterns\\Interfaces\\SingletonInterface::__clone", "doc": "&quot;This must throw an error as cloning a singleton is forbidden&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/StaticCreatorInterface.html", "name": "Patterns\\Interfaces\\StaticCreatorInterface", "doc": "&quot;This interface allows to create objects that can be statically created \&quot;on-the-fly\&quot; to allow\nmethod chaining constructing them like:&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticCreatorInterface", "fromLink": "Patterns/Interfaces/StaticCreatorInterface.html", "link": "Patterns/Interfaces/StaticCreatorInterface.html#method_create", "name": "Patterns\\Interfaces\\StaticCreatorInterface::create", "doc": "&quot;\n&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html", "name": "Patterns\\Interfaces\\StaticOptionableInterface", "doc": "&quot;A simple interface to manage a set of options statically&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_setOptions", "name": "Patterns\\Interfaces\\StaticOptionableInterface::setOptions", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_setOption", "name": "Patterns\\Interfaces\\StaticOptionableInterface::setOption", "doc": "&quot;Set the value of a specific option&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_getOptions", "name": "Patterns\\Interfaces\\StaticOptionableInterface::getOptions", "doc": "&quot;Get the array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_getOption", "name": "Patterns\\Interfaces\\StaticOptionableInterface::getOption", "doc": "&quot;Get the value of a specific option&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/TranslatableInterface.html", "name": "Patterns\\Interfaces\\TranslatableInterface", "doc": "&quot;A simple interface for translation objects&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_setLanguage", "name": "Patterns\\Interfaces\\TranslatableInterface::setLanguage", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_getLanguage", "name": "Patterns\\Interfaces\\TranslatableInterface::getLanguage", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_translate", "name": "Patterns\\Interfaces\\TranslatableInterface::translate", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_pluralize", "name": "Patterns\\Interfaces\\TranslatableInterface::pluralize", "doc": "&quot;\n&quot;"},
            
            {"type": "Interface", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/ViewInterface.html", "name": "Patterns\\Interfaces\\ViewInterface", "doc": "&quot;\n&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\ViewInterface", "fromLink": "Patterns/Interfaces/ViewInterface.html", "link": "Patterns/Interfaces/ViewInterface.html#method_render", "name": "Patterns\\Interfaces\\ViewInterface::render", "doc": "&quot;Building of a view content including a view file passing it parameters&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ViewInterface", "fromLink": "Patterns/Interfaces/ViewInterface.html", "link": "Patterns/Interfaces/ViewInterface.html#method_getDefaultViewParams", "name": "Patterns\\Interfaces\\ViewInterface::getDefaultViewParams", "doc": "&quot;Get an array of the default parameters for all views&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ViewInterface", "fromLink": "Patterns/Interfaces/ViewInterface.html", "link": "Patterns/Interfaces/ViewInterface.html#method_getTemplate", "name": "Patterns\\Interfaces\\ViewInterface::getTemplate", "doc": "&quot;Get a template file path (relative to &lt;code&gt;option[&#039;templates_dir&#039;]&lt;\/code&gt;)&quot;"},
            
            
            {"type": "Class", "fromName": "Patterns\\Abstracts", "fromLink": "Patterns/Abstracts.html", "link": "Patterns/Abstracts/AbstractAccessible.html", "name": "Patterns\\Abstracts\\AbstractAccessible", "doc": "&quot;Magic properties accessors&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractAccessible", "fromLink": "Patterns/Abstracts/AbstractAccessible.html", "link": "Patterns/Abstracts/AbstractAccessible.html#method___set", "name": "Patterns\\Abstracts\\AbstractAccessible::__set", "doc": "&quot;Set an object property, accessing it by \&quot;setVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractAccessible", "fromLink": "Patterns/Abstracts/AbstractAccessible.html", "link": "Patterns/Abstracts/AbstractAccessible.html#method___get", "name": "Patterns\\Abstracts\\AbstractAccessible::__get", "doc": "&quot;Get an object property, accessing it by \&quot;getVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractAccessible", "fromLink": "Patterns/Abstracts/AbstractAccessible.html", "link": "Patterns/Abstracts/AbstractAccessible.html#method___isset", "name": "Patterns\\Abstracts\\AbstractAccessible::__isset", "doc": "&quot;Test if an object property has been set, using the \&quot;issetVariable\&quot; method if defined&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractAccessible", "fromLink": "Patterns/Abstracts/AbstractAccessible.html", "link": "Patterns/Abstracts/AbstractAccessible.html#method___unset", "name": "Patterns\\Abstracts\\AbstractAccessible::__unset", "doc": "&quot;Test if an object property has been set, using the \&quot;unsetVariable\&quot; method if defined&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Abstracts", "fromLink": "Patterns/Abstracts.html", "link": "Patterns/Abstracts/AbstractOptionable.html", "name": "Patterns\\Abstracts\\AbstractOptionable", "doc": "&quot;A simple object options manager&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractOptionable", "fromLink": "Patterns/Abstracts/AbstractOptionable.html", "link": "Patterns/Abstracts/AbstractOptionable.html#method_setOptions", "name": "Patterns\\Abstracts\\AbstractOptionable::setOptions", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractOptionable", "fromLink": "Patterns/Abstracts/AbstractOptionable.html", "link": "Patterns/Abstracts/AbstractOptionable.html#method_setOption", "name": "Patterns\\Abstracts\\AbstractOptionable::setOption", "doc": "&quot;Set the value of a specific option&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractOptionable", "fromLink": "Patterns/Abstracts/AbstractOptionable.html", "link": "Patterns/Abstracts/AbstractOptionable.html#method_getOptions", "name": "Patterns\\Abstracts\\AbstractOptionable::getOptions", "doc": "&quot;Get the array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractOptionable", "fromLink": "Patterns/Abstracts/AbstractOptionable.html", "link": "Patterns/Abstracts/AbstractOptionable.html#method_getOption", "name": "Patterns\\Abstracts\\AbstractOptionable::getOption", "doc": "&quot;Get the value of a specific option&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Abstracts", "fromLink": "Patterns/Abstracts.html", "link": "Patterns/Abstracts/AbstractSingleton.html", "name": "Patterns\\Abstracts\\AbstractSingleton", "doc": "&quot;A singleton abstract class&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractSingleton", "fromLink": "Patterns/Abstracts/AbstractSingleton.html", "link": "Patterns/Abstracts/AbstractSingleton.html#method_getInstance", "name": "Patterns\\Abstracts\\AbstractSingleton::getInstance", "doc": "&quot;Static object getter: creation of an instance of the current calling class&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractSingleton", "fromLink": "Patterns/Abstracts/AbstractSingleton.html", "link": "Patterns/Abstracts/AbstractSingleton.html#method_getInstanceByClassname", "name": "Patterns\\Abstracts\\AbstractSingleton::getInstanceByClassname", "doc": "&quot;Static object getter: creation of an instance from the class name passed in first argument&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractSingleton", "fromLink": "Patterns/Abstracts/AbstractSingleton.html", "link": "Patterns/Abstracts/AbstractSingleton.html#method___clone", "name": "Patterns\\Abstracts\\AbstractSingleton::__clone", "doc": "&quot;Object cloning is avoid&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Abstracts", "fromLink": "Patterns/Abstracts.html", "link": "Patterns/Abstracts/AbstractStaticCreator.html", "name": "Patterns\\Abstracts\\AbstractStaticCreator", "doc": "&quot;This class allows to create objects that can be statically created \&quot;on-the-fly\&quot; to allow\nmethod chaining constructing them like:&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractStaticCreator", "fromLink": "Patterns/Abstracts/AbstractStaticCreator.html", "link": "Patterns/Abstracts/AbstractStaticCreator.html#method_init", "name": "Patterns\\Abstracts\\AbstractStaticCreator::init", "doc": "&quot;Force any descendant to implement a special constructor &lt;code&gt;init()&lt;\/code&gt; as it will be called by the &lt;code&gt;create()&lt;\/code&gt; static method&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractStaticCreator", "fromLink": "Patterns/Abstracts/AbstractStaticCreator.html", "link": "Patterns/Abstracts/AbstractStaticCreator.html#method___construct", "name": "Patterns\\Abstracts\\AbstractStaticCreator::__construct", "doc": "&quot;Magic default constructor for non-static use&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractStaticCreator", "fromLink": "Patterns/Abstracts/AbstractStaticCreator.html", "link": "Patterns/Abstracts/AbstractStaticCreator.html#method_create", "name": "Patterns\\Abstracts\\AbstractStaticCreator::create", "doc": "&quot;Static creation of the object&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Abstracts", "fromLink": "Patterns/Abstracts.html", "link": "Patterns/Abstracts/AbstractView.html", "name": "Patterns\\Abstracts\\AbstractView", "doc": "&quot;\n&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_setView", "name": "Patterns\\Abstracts\\AbstractView::setView", "doc": "&quot;Set the view name to parse&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_getView", "name": "Patterns\\Abstracts\\AbstractView::getView", "doc": "&quot;Get the view name&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_setOutput", "name": "Patterns\\Abstracts\\AbstractView::setOutput", "doc": "&quot;Set the output content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_appendOutput", "name": "Patterns\\Abstracts\\AbstractView::appendOutput", "doc": "&quot;Append the output content to the existing content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_prependOutput", "name": "Patterns\\Abstracts\\AbstractView::prependOutput", "doc": "&quot;Prepend the output content to the existing content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_getOutput", "name": "Patterns\\Abstracts\\AbstractView::getOutput", "doc": "&quot;Get the current view rendering output&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_resetParams", "name": "Patterns\\Abstracts\\AbstractView::resetParams", "doc": "&quot;Reset the parameters for the current view on an empty array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_setParams", "name": "Patterns\\Abstracts\\AbstractView::setParams", "doc": "&quot;Set an array of the parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_addParam", "name": "Patterns\\Abstracts\\AbstractView::addParam", "doc": "&quot;Add an entry of parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_getParams", "name": "Patterns\\Abstracts\\AbstractView::getParams", "doc": "&quot;Get the parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_getParam", "name": "Patterns\\Abstracts\\AbstractView::getParam", "doc": "&quot;Get a value of the parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_render", "name": "Patterns\\Abstracts\\AbstractView::render", "doc": "&quot;Building of a view content including a view file passing it parameters&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_getDefaultViewParams", "name": "Patterns\\Abstracts\\AbstractView::getDefaultViewParams", "doc": "&quot;Get the default parameters for all views&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Abstracts\\AbstractView", "fromLink": "Patterns/Abstracts/AbstractView.html", "link": "Patterns/Abstracts/AbstractView.html#method_getTemplate", "name": "Patterns\\Abstracts\\AbstractView::getTemplate", "doc": "&quot;Search a view file in the current file system&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Commons", "fromLink": "Patterns/Commons.html", "link": "Patterns/Commons/Collection.html", "name": "Patterns\\Commons\\Collection", "doc": "&quot;Collection manager : allows to set, get, loop and seek in an array collection&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method___construct", "name": "Patterns\\Commons\\Collection::__construct", "doc": "&quot;Construction of a collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_setCollection", "name": "Patterns\\Commons\\Collection::setCollection", "doc": "&quot;Set the collection content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_getCollection", "name": "Patterns\\Commons\\Collection::getCollection", "doc": "&quot;Get the collection content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_rewind", "name": "Patterns\\Commons\\Collection::rewind", "doc": "&quot;Put the index value at the beginning of the collection array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_reset", "name": "Patterns\\Commons\\Collection::reset", "doc": "&quot;Alias of self::rewind()&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_end", "name": "Patterns\\Commons\\Collection::end", "doc": "&quot;Put the index value at the last index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_next", "name": "Patterns\\Commons\\Collection::next", "doc": "&quot;Increase the current index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_prev", "name": "Patterns\\Commons\\Collection::prev", "doc": "&quot;Decrease the current index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_valid", "name": "Patterns\\Commons\\Collection::valid", "doc": "&quot;Check if current value is set&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_current", "name": "Patterns\\Commons\\Collection::current", "doc": "&quot;Gets the value of the collection at current index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_pos", "name": "Patterns\\Commons\\Collection::pos", "doc": "&quot;Alias of self::current()&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_key", "name": "Patterns\\Commons\\Collection::key", "doc": "&quot;Gets the current index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_seek", "name": "Patterns\\Commons\\Collection::seek", "doc": "&quot;Define the current index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_offsetSet", "name": "Patterns\\Commons\\Collection::offsetSet", "doc": "&quot;Set a collection entry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_offsetExists", "name": "Patterns\\Commons\\Collection::offsetExists", "doc": "&quot;Check if a collection entry exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_offsetUnset", "name": "Patterns\\Commons\\Collection::offsetUnset", "doc": "&quot;Unset a collection entry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_offsetGet", "name": "Patterns\\Commons\\Collection::offsetGet", "doc": "&quot;Get a collection entry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_push", "name": "Patterns\\Commons\\Collection::push", "doc": "&quot;Pushes a new value at the end of the collection, with no specific index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_count", "name": "Patterns\\Commons\\Collection::count", "doc": "&quot;Counts the number of entries in the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_shift", "name": "Patterns\\Commons\\Collection::shift", "doc": "&quot;Deletes a value at the beginning of the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_pop", "name": "Patterns\\Commons\\Collection::pop", "doc": "&quot;Deletes a value at the end of the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_unshift", "name": "Patterns\\Commons\\Collection::unshift", "doc": "&quot;Pushes a new value at the beginning of the collection, with no specific index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_each", "name": "Patterns\\Commons\\Collection::each", "doc": "&quot;Returns the current key=&gt;value pair and put increase the index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_in_array", "name": "Patterns\\Commons\\Collection::in_array", "doc": "&quot;Search a value in the current array and returns true if so&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_key_exists", "name": "Patterns\\Commons\\Collection::key_exists", "doc": "&quot;Search if an entry exists with this key&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_values", "name": "Patterns\\Commons\\Collection::values", "doc": "&quot;Returns an array with all values of the original array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_keys", "name": "Patterns\\Commons\\Collection::keys", "doc": "&quot;Returns an array with all keys of the original array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_getEntry", "name": "Patterns\\Commons\\Collection::getEntry", "doc": "&quot;Gets a collection entry value by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_setEntry", "name": "Patterns\\Commons\\Collection::setEntry", "doc": "&quot;Sets a collection entry value by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_addEntry", "name": "Patterns\\Commons\\Collection::addEntry", "doc": "&quot;Add a collection entry value (alias of \&quot;setEntry()\&quot;)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_issetEntry", "name": "Patterns\\Commons\\Collection::issetEntry", "doc": "&quot;Check if a collection entry exists by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Collection", "fromLink": "Patterns/Commons/Collection.html", "link": "Patterns/Commons/Collection.html#method_unsetEntry", "name": "Patterns\\Commons\\Collection::unsetEntry", "doc": "&quot;Deletes a collection entry by its index&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Commons", "fromLink": "Patterns/Commons.html", "link": "Patterns/Commons/ConfigurationRegistry.html", "name": "Patterns\\Commons\\ConfigurationRegistry", "doc": "&quot;A manager for a configuration registry as an array with a depth of 2&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method___construct", "name": "Patterns\\Commons\\ConfigurationRegistry::__construct", "doc": "&quot;Construction : initialization of the registry on an empty array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_set", "name": "Patterns\\Commons\\ConfigurationRegistry::set", "doc": "&quot;Set the value of a specific option with depth&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_get", "name": "Patterns\\Commons\\ConfigurationRegistry::get", "doc": "&quot;Get the value of a specific option with depth&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_setConfigs", "name": "Patterns\\Commons\\ConfigurationRegistry::setConfigs", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_setConfig", "name": "Patterns\\Commons\\ConfigurationRegistry::setConfig", "doc": "&quot;Set the value of a specific option (no scope notation allowed here)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_addConfig", "name": "Patterns\\Commons\\ConfigurationRegistry::addConfig", "doc": "&quot;Alias of the &lt;code&gt;setConfig&lt;\/code&gt; method&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_getConfigs", "name": "Patterns\\Commons\\ConfigurationRegistry::getConfigs", "doc": "&quot;Get the array of options (from a specific scope if so)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\ConfigurationRegistry", "fromLink": "Patterns/Commons/ConfigurationRegistry.html", "link": "Patterns/Commons/ConfigurationRegistry.html#method_getConfig", "name": "Patterns\\Commons\\ConfigurationRegistry::getConfig", "doc": "&quot;Get the value of a specific option (no scope notation allowed here)&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Commons", "fromLink": "Patterns/Commons.html", "link": "Patterns/Commons/Registry.html", "name": "Patterns\\Commons\\Registry", "doc": "&quot;A classic registry manager&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_dump", "name": "Patterns\\Commons\\Registry::dump", "doc": "&quot;Get current registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method___set", "name": "Patterns\\Commons\\Registry::__set", "doc": "&quot;Set an entry in the instance registry (magic setter)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method___get", "name": "Patterns\\Commons\\Registry::__get", "doc": "&quot;Get an entry from the instance registry (magic getter)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_setEntry", "name": "Patterns\\Commons\\Registry::setEntry", "doc": "&quot;Set an entry in the instance registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_addEntry", "name": "Patterns\\Commons\\Registry::addEntry", "doc": "&quot;Add an entry in a section of the instance registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_getEntry", "name": "Patterns\\Commons\\Registry::getEntry", "doc": "&quot;Get an entry from the instance registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_isEntry", "name": "Patterns\\Commons\\Registry::isEntry", "doc": "&quot;Check if an entry exists in registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_getKey", "name": "Patterns\\Commons\\Registry::getKey", "doc": "&quot;Search a key in registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_dumpStack", "name": "Patterns\\Commons\\Registry::dumpStack", "doc": "&quot;Get a full stack from registry stacks&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_saveStack", "name": "Patterns\\Commons\\Registry::saveStack", "doc": "&quot;Save a stack of entries in registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_isStack", "name": "Patterns\\Commons\\Registry::isStack", "doc": "&quot;Check if a stack exists in registry&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_loadStack", "name": "Patterns\\Commons\\Registry::loadStack", "doc": "&quot;Load a stack in registry (actual registry is overwrites)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_getStackEntry", "name": "Patterns\\Commons\\Registry::getStackEntry", "doc": "&quot;Get a stack entry of the registry stacks&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Commons\\Registry", "fromLink": "Patterns/Commons/Registry.html", "link": "Patterns/Commons/Registry.html#method_getStackKey", "name": "Patterns\\Commons\\Registry::getStackKey", "doc": "&quot;Get the key of a stack entry of the registry stacks&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/AccessibleInterface.html", "name": "Patterns\\Interfaces\\AccessibleInterface", "doc": "&quot;Magic properties accessors&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___set", "name": "Patterns\\Interfaces\\AccessibleInterface::__set", "doc": "&quot;Set an object property, accessing it by \&quot;setVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___get", "name": "Patterns\\Interfaces\\AccessibleInterface::__get", "doc": "&quot;Get an object property, accessing it by \&quot;getVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___isset", "name": "Patterns\\Interfaces\\AccessibleInterface::__isset", "doc": "&quot;Test if an object property has been set, using the \&quot;issetVariable\&quot; method if defined&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\AccessibleInterface", "fromLink": "Patterns/Interfaces/AccessibleInterface.html", "link": "Patterns/Interfaces/AccessibleInterface.html#method___unset", "name": "Patterns\\Interfaces\\AccessibleInterface::__unset", "doc": "&quot;Test if an object property has been set, using the \&quot;unsetVariable\&quot; method if defined&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/ArrayInterface.html", "name": "Patterns\\Interfaces\\ArrayInterface", "doc": "&quot;Array interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_shift", "name": "Patterns\\Interfaces\\ArrayInterface::shift", "doc": "&quot;Deletes a value at the beginning of the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_pop", "name": "Patterns\\Interfaces\\ArrayInterface::pop", "doc": "&quot;Deletes a value at the end of the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_unshift", "name": "Patterns\\Interfaces\\ArrayInterface::unshift", "doc": "&quot;Pushes a new value at the beginning of the collection, with no specific index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_push", "name": "Patterns\\Interfaces\\ArrayInterface::push", "doc": "&quot;Pushes a new value at the end of the collection, with no specific index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_count", "name": "Patterns\\Interfaces\\ArrayInterface::count", "doc": "&quot;Counts the number of entries in the collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_each", "name": "Patterns\\Interfaces\\ArrayInterface::each", "doc": "&quot;Returns the current key=&gt;value pair and put increase the index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_in_array", "name": "Patterns\\Interfaces\\ArrayInterface::in_array", "doc": "&quot;Search a value in the current array and returns true if so&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_key_exists", "name": "Patterns\\Interfaces\\ArrayInterface::key_exists", "doc": "&quot;Search if an entry exists with this key&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_values", "name": "Patterns\\Interfaces\\ArrayInterface::values", "doc": "&quot;Returns an array with all values of the original array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ArrayInterface", "fromLink": "Patterns/Interfaces/ArrayInterface.html", "link": "Patterns/Interfaces/ArrayInterface.html#method_keys", "name": "Patterns\\Interfaces\\ArrayInterface::keys", "doc": "&quot;Returns an array with all keys of the original array&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/CachableInterface.html", "name": "Patterns\\Interfaces\\CachableInterface", "doc": "&quot;Manage a cachable item object&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_getCacheKey", "name": "Patterns\\Interfaces\\CachableInterface::getCacheKey", "doc": "&quot;Get the key of the current cached item&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_isCached", "name": "Patterns\\Interfaces\\CachableInterface::isCached", "doc": "&quot;Test if an item is already cached and if its cache is still valid&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_getCache", "name": "Patterns\\Interfaces\\CachableInterface::getCache", "doc": "&quot;Get a cache content for an item&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_setCache", "name": "Patterns\\Interfaces\\CachableInterface::setCache", "doc": "&quot;Set a cache content for an item&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CachableInterface", "fromLink": "Patterns/Interfaces/CachableInterface.html", "link": "Patterns/Interfaces/CachableInterface.html#method_invalidateCache", "name": "Patterns\\Interfaces\\CachableInterface::invalidateCache", "doc": "&quot;Clear a cache content for an item&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/CollectionInterface.html", "name": "Patterns\\Interfaces\\CollectionInterface", "doc": "&quot;Collection interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_setCollection", "name": "Patterns\\Interfaces\\CollectionInterface::setCollection", "doc": "&quot;Set the collection content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_getCollection", "name": "Patterns\\Interfaces\\CollectionInterface::getCollection", "doc": "&quot;Get the collection content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_getEntry", "name": "Patterns\\Interfaces\\CollectionInterface::getEntry", "doc": "&quot;Gets a collection entry value by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_setEntry", "name": "Patterns\\Interfaces\\CollectionInterface::setEntry", "doc": "&quot;Sets a collection entry value by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_issetEntry", "name": "Patterns\\Interfaces\\CollectionInterface::issetEntry", "doc": "&quot;Check if a collection entry exists by its index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CollectionInterface", "fromLink": "Patterns/Interfaces/CollectionInterface.html", "link": "Patterns/Interfaces/CollectionInterface.html#method_unsetEntry", "name": "Patterns\\Interfaces\\CollectionInterface::unsetEntry", "doc": "&quot;Deletes a collection entry by its index&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/CrudInterface.html", "name": "Patterns\\Interfaces\\CrudInterface", "doc": "&quot;An interface for a basic CRUD model&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_create", "name": "Patterns\\Interfaces\\CrudInterface::create", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_read", "name": "Patterns\\Interfaces\\CrudInterface::read", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_update", "name": "Patterns\\Interfaces\\CrudInterface::update", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\CrudInterface", "fromLink": "Patterns/Interfaces/CrudInterface.html", "link": "Patterns/Interfaces/CrudInterface.html#method_delete", "name": "Patterns\\Interfaces\\CrudInterface::delete", "doc": "&quot;\n&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/DebuggableInterface.html", "name": "Patterns\\Interfaces\\DebuggableInterface", "doc": "&quot;A simple interface to manage a debuggable object&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\DebuggableInterface", "fromLink": "Patterns/Interfaces/DebuggableInterface.html", "link": "Patterns/Interfaces/DebuggableInterface.html#method_setDebug", "name": "Patterns\\Interfaces\\DebuggableInterface::setDebug", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\DebuggableInterface", "fromLink": "Patterns/Interfaces/DebuggableInterface.html", "link": "Patterns/Interfaces/DebuggableInterface.html#method_getDebug", "name": "Patterns\\Interfaces\\DebuggableInterface::getDebug", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\DebuggableInterface", "fromLink": "Patterns/Interfaces/DebuggableInterface.html", "link": "Patterns/Interfaces/DebuggableInterface.html#method_isDebug", "name": "Patterns\\Interfaces\\DebuggableInterface::isDebug", "doc": "&quot;\n&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/IteratorInterface.html", "name": "Patterns\\Interfaces\\IteratorInterface", "doc": "&quot;Iterator interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_reset", "name": "Patterns\\Interfaces\\IteratorInterface::reset", "doc": "&quot;Put the index value at 0\nThis must be an alias of \\Iterator::rewind()&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_end", "name": "Patterns\\Interfaces\\IteratorInterface::end", "doc": "&quot;Put the index value at the last index&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_pos", "name": "Patterns\\Interfaces\\IteratorInterface::pos", "doc": "&quot;Get the current index\nThis must be an alias of \\Iterator::current()&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\IteratorInterface", "fromLink": "Patterns/Interfaces/IteratorInterface.html", "link": "Patterns/Interfaces/IteratorInterface.html#method_prev", "name": "Patterns\\Interfaces\\IteratorInterface::prev", "doc": "&quot;Decrease the current index&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/OptionableInterface.html", "name": "Patterns\\Interfaces\\OptionableInterface", "doc": "&quot;A simple interface to manage a set of options&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_setOptions", "name": "Patterns\\Interfaces\\OptionableInterface::setOptions", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_setOption", "name": "Patterns\\Interfaces\\OptionableInterface::setOption", "doc": "&quot;Set the value of a specific option&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_getOptions", "name": "Patterns\\Interfaces\\OptionableInterface::getOptions", "doc": "&quot;Get the array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\OptionableInterface", "fromLink": "Patterns/Interfaces/OptionableInterface.html", "link": "Patterns/Interfaces/OptionableInterface.html#method_getOption", "name": "Patterns\\Interfaces\\OptionableInterface::getOption", "doc": "&quot;Get the value of a specific option&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/RepositoryInterface.html", "name": "Patterns\\Interfaces\\RepositoryInterface", "doc": "&quot;A simple interface to manage a model repository&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\RepositoryInterface", "fromLink": "Patterns/Interfaces/RepositoryInterface.html", "link": "Patterns/Interfaces/RepositoryInterface.html#method_getAll", "name": "Patterns\\Interfaces\\RepositoryInterface::getAll", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RepositoryInterface", "fromLink": "Patterns/Interfaces/RepositoryInterface.html", "link": "Patterns/Interfaces/RepositoryInterface.html#method_getOneBy", "name": "Patterns\\Interfaces\\RepositoryInterface::getOneBy", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RepositoryInterface", "fromLink": "Patterns/Interfaces/RepositoryInterface.html", "link": "Patterns/Interfaces/RepositoryInterface.html#method_exists", "name": "Patterns\\Interfaces\\RepositoryInterface::exists", "doc": "&quot;\n&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/RequestInterface.html", "name": "Patterns\\Interfaces\\RequestInterface", "doc": "&quot;Interface for classic request handling&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getUrl", "name": "Patterns\\Interfaces\\RequestInterface::getUrl", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getProtocol", "name": "Patterns\\Interfaces\\RequestInterface::getProtocol", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getMethod", "name": "Patterns\\Interfaces\\RequestInterface::getMethod", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getHeaders", "name": "Patterns\\Interfaces\\RequestInterface::getHeaders", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getArguments", "name": "Patterns\\Interfaces\\RequestInterface::getArguments", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getData", "name": "Patterns\\Interfaces\\RequestInterface::getData", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getFiles", "name": "Patterns\\Interfaces\\RequestInterface::getFiles", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getSession", "name": "Patterns\\Interfaces\\RequestInterface::getSession", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getCookies", "name": "Patterns\\Interfaces\\RequestInterface::getCookies", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RequestInterface", "fromLink": "Patterns/Interfaces/RequestInterface.html", "link": "Patterns/Interfaces/RequestInterface.html#method_getAuthentication", "name": "Patterns\\Interfaces\\RequestInterface::getAuthentication", "doc": "&quot;\n&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/ResponseInterface.html", "name": "Patterns\\Interfaces\\ResponseInterface", "doc": "&quot;Interface for classic response handling&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_redirect", "name": "Patterns\\Interfaces\\ResponseInterface::redirect", "doc": "&quot;Make a redirection by headers&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_send", "name": "Patterns\\Interfaces\\ResponseInterface::send", "doc": "&quot;Send the response to the device&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_download", "name": "Patterns\\Interfaces\\ResponseInterface::download", "doc": "&quot;Force device to download a file&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ResponseInterface", "fromLink": "Patterns/Interfaces/ResponseInterface.html", "link": "Patterns/Interfaces/ResponseInterface.html#method_flush", "name": "Patterns\\Interfaces\\ResponseInterface::flush", "doc": "&quot;Flush (display) a file content&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/RouterInterface.html", "name": "Patterns\\Interfaces\\RouterInterface", "doc": "&quot;\n&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_setRoutes", "name": "Patterns\\Interfaces\\RouterInterface::setRoutes", "doc": "&quot;Set the routes collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_getRoutes", "name": "Patterns\\Interfaces\\RouterInterface::getRoutes", "doc": "&quot;Get the routes collection&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_routeExists", "name": "Patterns\\Interfaces\\RouterInterface::routeExists", "doc": "&quot;Check if a route exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_getRoute", "name": "Patterns\\Interfaces\\RouterInterface::getRoute", "doc": "&quot;Get the current route requested&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_generateUrl", "name": "Patterns\\Interfaces\\RouterInterface::generateUrl", "doc": "&quot;Build a new route URL&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_matchUrl", "name": "Patterns\\Interfaces\\RouterInterface::matchUrl", "doc": "&quot;Distribute the current URL to the corresponding route&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_distribute", "name": "Patterns\\Interfaces\\RouterInterface::distribute", "doc": "&quot;Actually dispatch the current route&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_forward", "name": "Patterns\\Interfaces\\RouterInterface::forward", "doc": "&quot;Forward the application to a new route (no HTTP redirect)&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\RouterInterface", "fromLink": "Patterns/Interfaces/RouterInterface.html", "link": "Patterns/Interfaces/RouterInterface.html#method_redirect", "name": "Patterns\\Interfaces\\RouterInterface::redirect", "doc": "&quot;Make a redirection to a new route (HTTP redirect)&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/SingletonInterface.html", "name": "Patterns\\Interfaces\\SingletonInterface", "doc": "&quot;A basic singleton interface&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\SingletonInterface", "fromLink": "Patterns/Interfaces/SingletonInterface.html", "link": "Patterns/Interfaces/SingletonInterface.html#method_getInstance", "name": "Patterns\\Interfaces\\SingletonInterface::getInstance", "doc": "&quot;This must return (and create if necessary) the object&#039;s instance&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\SingletonInterface", "fromLink": "Patterns/Interfaces/SingletonInterface.html", "link": "Patterns/Interfaces/SingletonInterface.html#method___clone", "name": "Patterns\\Interfaces\\SingletonInterface::__clone", "doc": "&quot;This must throw an error as cloning a singleton is forbidden&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/StaticCreatorInterface.html", "name": "Patterns\\Interfaces\\StaticCreatorInterface", "doc": "&quot;This interface allows to create objects that can be statically created \&quot;on-the-fly\&quot; to allow\nmethod chaining constructing them like:&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticCreatorInterface", "fromLink": "Patterns/Interfaces/StaticCreatorInterface.html", "link": "Patterns/Interfaces/StaticCreatorInterface.html#method_create", "name": "Patterns\\Interfaces\\StaticCreatorInterface::create", "doc": "&quot;\n&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html", "name": "Patterns\\Interfaces\\StaticOptionableInterface", "doc": "&quot;A simple interface to manage a set of options statically&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_setOptions", "name": "Patterns\\Interfaces\\StaticOptionableInterface::setOptions", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_setOption", "name": "Patterns\\Interfaces\\StaticOptionableInterface::setOption", "doc": "&quot;Set the value of a specific option&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_getOptions", "name": "Patterns\\Interfaces\\StaticOptionableInterface::getOptions", "doc": "&quot;Get the array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\StaticOptionableInterface", "fromLink": "Patterns/Interfaces/StaticOptionableInterface.html", "link": "Patterns/Interfaces/StaticOptionableInterface.html#method_getOption", "name": "Patterns\\Interfaces\\StaticOptionableInterface::getOption", "doc": "&quot;Get the value of a specific option&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/TranslatableInterface.html", "name": "Patterns\\Interfaces\\TranslatableInterface", "doc": "&quot;A simple interface for translation objects&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_setLanguage", "name": "Patterns\\Interfaces\\TranslatableInterface::setLanguage", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_getLanguage", "name": "Patterns\\Interfaces\\TranslatableInterface::getLanguage", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_translate", "name": "Patterns\\Interfaces\\TranslatableInterface::translate", "doc": "&quot;\n&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\TranslatableInterface", "fromLink": "Patterns/Interfaces/TranslatableInterface.html", "link": "Patterns/Interfaces/TranslatableInterface.html#method_pluralize", "name": "Patterns\\Interfaces\\TranslatableInterface::pluralize", "doc": "&quot;\n&quot;"},
            
            {"type": "Class", "fromName": "Patterns\\Interfaces", "fromLink": "Patterns/Interfaces.html", "link": "Patterns/Interfaces/ViewInterface.html", "name": "Patterns\\Interfaces\\ViewInterface", "doc": "&quot;\n&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Interfaces\\ViewInterface", "fromLink": "Patterns/Interfaces/ViewInterface.html", "link": "Patterns/Interfaces/ViewInterface.html#method_render", "name": "Patterns\\Interfaces\\ViewInterface::render", "doc": "&quot;Building of a view content including a view file passing it parameters&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ViewInterface", "fromLink": "Patterns/Interfaces/ViewInterface.html", "link": "Patterns/Interfaces/ViewInterface.html#method_getDefaultViewParams", "name": "Patterns\\Interfaces\\ViewInterface::getDefaultViewParams", "doc": "&quot;Get an array of the default parameters for all views&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Interfaces\\ViewInterface", "fromLink": "Patterns/Interfaces/ViewInterface.html", "link": "Patterns/Interfaces/ViewInterface.html#method_getTemplate", "name": "Patterns\\Interfaces\\ViewInterface::getTemplate", "doc": "&quot;Get a template file path (relative to &lt;code&gt;option[&#039;templates_dir&#039;]&lt;\/code&gt;)&quot;"},
            
            {"type": "Trait", "fromName": "Patterns\\Traits", "fromLink": "Patterns/Traits.html", "link": "Patterns/Traits/AccessibleTrait.html", "name": "Patterns\\Traits\\AccessibleTrait", "doc": "&quot;Magic properties accessors&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Traits\\AccessibleTrait", "fromLink": "Patterns/Traits/AccessibleTrait.html", "link": "Patterns/Traits/AccessibleTrait.html#method___set", "name": "Patterns\\Traits\\AccessibleTrait::__set", "doc": "&quot;Set an object property, accessing it by \&quot;setVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\AccessibleTrait", "fromLink": "Patterns/Traits/AccessibleTrait.html", "link": "Patterns/Traits/AccessibleTrait.html#method___get", "name": "Patterns\\Traits\\AccessibleTrait::__get", "doc": "&quot;Get an object property, accessing it by \&quot;getVariable\&quot; if the method exists&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\AccessibleTrait", "fromLink": "Patterns/Traits/AccessibleTrait.html", "link": "Patterns/Traits/AccessibleTrait.html#method___isset", "name": "Patterns\\Traits\\AccessibleTrait::__isset", "doc": "&quot;Test if an object property has been set, using the \&quot;issetVariable\&quot; method if defined&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\AccessibleTrait", "fromLink": "Patterns/Traits/AccessibleTrait.html", "link": "Patterns/Traits/AccessibleTrait.html#method___unset", "name": "Patterns\\Traits\\AccessibleTrait::__unset", "doc": "&quot;Test if an object property has been set, using the \&quot;unsetVariable\&quot; method if defined&quot;"},
            
            {"type": "Trait", "fromName": "Patterns\\Traits", "fromLink": "Patterns/Traits.html", "link": "Patterns/Traits/OptionableTrait.html", "name": "Patterns\\Traits\\OptionableTrait", "doc": "&quot;This trait is the exact copy of the &lt;code&gt;\\Patterns\\Abstracts\\AbstractOptionable&lt;\/code&gt; class.&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Traits\\OptionableTrait", "fromLink": "Patterns/Traits/OptionableTrait.html", "link": "Patterns/Traits/OptionableTrait.html#method_setOptions", "name": "Patterns\\Traits\\OptionableTrait::setOptions", "doc": "&quot;Set an array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\OptionableTrait", "fromLink": "Patterns/Traits/OptionableTrait.html", "link": "Patterns/Traits/OptionableTrait.html#method_setOption", "name": "Patterns\\Traits\\OptionableTrait::setOption", "doc": "&quot;Set the value of a specific option&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\OptionableTrait", "fromLink": "Patterns/Traits/OptionableTrait.html", "link": "Patterns/Traits/OptionableTrait.html#method_getOptions", "name": "Patterns\\Traits\\OptionableTrait::getOptions", "doc": "&quot;Get the array of options&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\OptionableTrait", "fromLink": "Patterns/Traits/OptionableTrait.html", "link": "Patterns/Traits/OptionableTrait.html#method_getOption", "name": "Patterns\\Traits\\OptionableTrait::getOption", "doc": "&quot;Get the value of a specific option&quot;"},
            
            {"type": "Trait", "fromName": "Patterns\\Traits", "fromLink": "Patterns/Traits.html", "link": "Patterns/Traits/SingletonTrait.html", "name": "Patterns\\Traits\\SingletonTrait", "doc": "&quot;Basic singleton object definition&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Traits\\SingletonTrait", "fromLink": "Patterns/Traits/SingletonTrait.html", "link": "Patterns/Traits/SingletonTrait.html#method___construct", "name": "Patterns\\Traits\\SingletonTrait::__construct", "doc": "&quot;Constructor : classic object constructor&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\SingletonTrait", "fromLink": "Patterns/Traits/SingletonTrait.html", "link": "Patterns/Traits/SingletonTrait.html#method_getInstance", "name": "Patterns\\Traits\\SingletonTrait::getInstance", "doc": "&quot;This is the static constructor\/getter of the singleton instance&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\SingletonTrait", "fromLink": "Patterns/Traits/SingletonTrait.html", "link": "Patterns/Traits/SingletonTrait.html#method___clone", "name": "Patterns\\Traits\\SingletonTrait::__clone", "doc": "&quot;This must throw an error as cloning a singleton is forbidden&quot;"},
            
            {"type": "Trait", "fromName": "Patterns\\Traits", "fromLink": "Patterns/Traits.html", "link": "Patterns/Traits/TemplateViewTrait.html", "name": "Patterns\\Traits\\TemplateViewTrait", "doc": "&quot;This trait is the exact copy of the &lt;code&gt;\\Patterns\\Abstracts\\AbstractView&lt;\/code&gt; class.&quot;"},
                                                        {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_setView", "name": "Patterns\\Traits\\TemplateViewTrait::setView", "doc": "&quot;Set the view name to parse&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_getView", "name": "Patterns\\Traits\\TemplateViewTrait::getView", "doc": "&quot;Get the view name&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_setOutput", "name": "Patterns\\Traits\\TemplateViewTrait::setOutput", "doc": "&quot;Set the output content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_appendOutput", "name": "Patterns\\Traits\\TemplateViewTrait::appendOutput", "doc": "&quot;Append the output content to the existing content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_prependOutput", "name": "Patterns\\Traits\\TemplateViewTrait::prependOutput", "doc": "&quot;Prepend the output content to the existing content&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_getOutput", "name": "Patterns\\Traits\\TemplateViewTrait::getOutput", "doc": "&quot;Get the current view rendering output&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_resetParams", "name": "Patterns\\Traits\\TemplateViewTrait::resetParams", "doc": "&quot;Reset the parameters for the current view on an empty array&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_setParams", "name": "Patterns\\Traits\\TemplateViewTrait::setParams", "doc": "&quot;Set an array of the parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_addParam", "name": "Patterns\\Traits\\TemplateViewTrait::addParam", "doc": "&quot;Add an entry of parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_getParams", "name": "Patterns\\Traits\\TemplateViewTrait::getParams", "doc": "&quot;Get the parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_getParam", "name": "Patterns\\Traits\\TemplateViewTrait::getParam", "doc": "&quot;Get a value of the parameters for the current view&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_render", "name": "Patterns\\Traits\\TemplateViewTrait::render", "doc": "&quot;Building of a view content including a view file passing it parameters&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_getDefaultViewParams", "name": "Patterns\\Traits\\TemplateViewTrait::getDefaultViewParams", "doc": "&quot;Get the default parameters for all views&quot;"},
                    {"type": "Method", "fromName": "Patterns\\Traits\\TemplateViewTrait", "fromLink": "Patterns/Traits/TemplateViewTrait.html", "link": "Patterns/Traits/TemplateViewTrait.html#method_getTemplate", "name": "Patterns\\Traits\\TemplateViewTrait::getTemplate", "doc": "&quot;Search a view file in the current file system&quot;"},
            
            
                                        // Fix trailing commas in the index
        {}
    ];

    /** Tokenizes strings by namespaces and functions */
    function tokenizer(term) {
        if (!term) {
            return [];
        }

        var tokens = [term];
        var meth = term.indexOf('::');

        // Split tokens into methods if "::" is found.
        if (meth > -1) {
            tokens.push(term.substr(meth + 2));
            term = term.substr(0, meth - 2);
        }

        // Split by namespace or fake namespace.
        if (term.indexOf('\\') > -1) {
            tokens = tokens.concat(term.split('\\'));
        } else if (term.indexOf('_') > 0) {
            tokens = tokens.concat(term.split('_'));
        }

        // Merge in splitting the string by case and return
        tokens = tokens.concat(term.match(/(([A-Z]?[^A-Z]*)|([a-z]?[^a-z]*))/g).slice(0,-1));

        return tokens;
    };

    root.Sami = {
        /**
         * Cleans the provided term. If no term is provided, then one is
         * grabbed from the query string "search" parameter.
         */
        cleanSearchTerm: function(term) {
            // Grab from the query string
            if (typeof term === 'undefined') {
                var name = 'search';
                var regex = new RegExp("[\\?&]" + name + "=([^&#]*)");
                var results = regex.exec(location.search);
                if (results === null) {
                    return null;
                }
                term = decodeURIComponent(results[1].replace(/\+/g, " "));
            }

            return term.replace(/<(?:.|\n)*?>/gm, '');
        },

        /** Searches through the index for a given term */
        search: function(term) {
            // Create a new search index if needed
            if (!bhIndex) {
                bhIndex = new Bloodhound({
                    limit: 500,
                    local: searchIndex,
                    datumTokenizer: function (d) {
                        return tokenizer(d.name);
                    },
                    queryTokenizer: Bloodhound.tokenizers.whitespace
                });
                bhIndex.initialize();
            }

            results = [];
            bhIndex.get(term, function(matches) {
                results = matches;
            });

            if (!rootPath) {
                return results;
            }

            // Fix the element links based on the current page depth.
            return $.map(results, function(ele) {
                if (ele.link.indexOf('..') > -1) {
                    return ele;
                }
                ele.link = rootPath + ele.link;
                if (ele.fromLink) {
                    ele.fromLink = rootPath + ele.fromLink;
                }
                return ele;
            });
        },

        /** Get a search class for a specific type */
        getSearchClass: function(type) {
            return searchTypeClasses[type] || searchTypeClasses['_'];
        },

        /** Add the left-nav tree to the site */
        injectApiTree: function(ele) {
            ele.html(treeHtml);
        }
    };

    $(function() {
        // Modify the HTML to work correctly based on the current depth
        rootPath = $('body').attr('data-root-path');
        treeHtml = treeHtml.replace(/href="/g, 'href="' + rootPath);
        Sami.injectApiTree($('#api-tree'));
    });

    return root.Sami;
})(window);

$(function() {

    // Enable the version switcher
    $('#version-switcher').change(function() {
        window.location = $(this).val()
    });

    
        // Toggle left-nav divs on click
        $('#api-tree .hd span').click(function() {
            $(this).parent().parent().toggleClass('opened');
        });

        // Expand the parent namespaces of the current page.
        var expected = $('body').attr('data-name');

        if (expected) {
            // Open the currently selected node and its parents.
            var container = $('#api-tree');
            var node = $('#api-tree li[data-name="' + expected + '"]');
            // Node might not be found when simulating namespaces
            if (node.length > 0) {
                node.addClass('active').addClass('opened');
                node.parents('li').addClass('opened');
                var scrollPos = node.offset().top - container.offset().top + container.scrollTop();
                // Position the item nearer to the top of the screen.
                scrollPos -= 200;
                container.scrollTop(scrollPos);
            }
        }

    
    
        var form = $('#search-form .typeahead');
        form.typeahead({
            hint: true,
            highlight: true,
            minLength: 1
        }, {
            name: 'search',
            displayKey: 'name',
            source: function (q, cb) {
                cb(Sami.search(q));
            }
        });

        // The selection is direct-linked when the user selects a suggestion.
        form.on('typeahead:selected', function(e, suggestion) {
            window.location = suggestion.link;
        });

        // The form is submitted when the user hits enter.
        form.keypress(function (e) {
            if (e.which == 13) {
                $('#search-form').submit();
                return true;
            }
        });

    
});