Allow plugins to specify that they have to be instantiated
Plugins may return false in isSingleton to let plugin_load return a new instance every time it is called. Renderer plugins are not loaded with $new set to true, but instead specify themself that they are not singletons. This behaviour allows the odt renderer to keep working (see #1598).
Showing
- inc/parser/renderer.php 9 additions, 0 deletionsinc/parser/renderer.php
- inc/parserutils.php 1 addition, 1 deletioninc/parserutils.php
- inc/plugin.php 3 additions, 3 deletionsinc/plugin.php
- inc/plugincontroller.class.php 1 addition, 1 deletioninc/plugincontroller.class.php
- lib/plugins/syntax.php 0 additions, 8 deletionslib/plugins/syntax.php
Loading
Please register or sign in to comment