Esrender-plugins allow administrators to alter and extend esrender's application-flow.
Plugins are configured in the optional configuration-file
conf/plugins.conf.phpwhich the esrender-application will try to include on startup. Upon inclusion esrender will expose its global
array $Pluginswhich is expected to get filled by this configuration file.
The expected way to add plugins to this array is to instantiate plugin-objects, configure them and finally add them to this global array.
// create new plugin-instance $plugin_instance = new ESRender_Plugin_DoSomething(); // configure plugin $plugin->configureDo('some_parameter'); // add plugin to global array $Plugins[] = $plugin
Please have a look at the concrete plugin-source on what and how to configure a plugin-class.