Elgg
Version 2.3
|
Go to the source code of this file.
Functions | |
define (function(require){function Plugin(spec){spec=spec||{};this._init=function(){if(spec.init){spec.init();}};}return Plugin;}) | |
If your plugin has a boot module, it must return an instance of the class defined by this module. More... | |
define | ( | function(require){function Plugin(spec){spec=spec||{};this._init=function(){if(spec.init){spec.init();}};}return Plugin;} | ) |
If your plugin has a boot module, it must return an instance of the class defined by this module.
function(require){function | Plugin(spec){spec=spec||{};this._init=function(){if(spec.init){spec.init();}};}return Plugin;} Constructor |
{Object} | spec Specification object with keys: init: {Function} optional function called in plugin order in the elgg/init module, |
This is called by elgg/init to initialize the plugin. Do not use.
private