| Server IP : 162.214.74.102 / Your IP : 216.73.217.111 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_projetos/sopizzas/build/cache-plugin/ |
Upload File : |
YUI.add('cache-plugin', function (Y, NAME) {
/**
* Provides support to use Cache as a Plugin to a Base-based class.
*
* @module cache
* @submodule cache-plugin
*/
/**
* Plugin.Cache adds pluginizability to Cache.
* @class Plugin.Cache
* @extends Cache
* @uses Plugin.Base
*/
function CachePlugin(config) {
var cache = config && config.cache ? config.cache : Y.Cache,
tmpclass = Y.Base.create("dataSourceCache", cache, [Y.Plugin.Base]),
tmpinstance = new tmpclass(config);
tmpclass.NS = "tmpClass";
return tmpinstance;
}
Y.mix(CachePlugin, {
/**
* The namespace for the plugin. This will be the property on the host which
* references the plugin instance.
*
* @property NS
* @type String
* @static
* @final
* @value "cache"
*/
NS: "cache",
/**
* Class name.
*
* @property NAME
* @type String
* @static
* @final
* @value "dataSourceCache"
*/
NAME: "cachePlugin"
});
Y.namespace("Plugin").Cache = CachePlugin;
}, 'patched-v3.18.1', {"requires": ["plugin", "cache-base"]});