DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:devel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:struct:devel [2020-08-21 11:34] – [Registering new Types] Klap-inplugin:struct:devel [2022-07-23 01:36] (current) – Grammar fix: it's -> its Matt2
Line 2: Line 2:
 ====== Struct Plugin: Development Support ====== ====== Struct Plugin: Development Support ======
  
-The Struct Plugin allows other plugin developers to hook into it'functionality, adding additional features.+The Struct Plugin allows other plugin developers to hook into its functionality, adding additional features.
  
  
Line 36: Line 36:
 ===== Allow Additional Config Keys ===== ===== Allow Additional Config Keys =====
  
-When you write a plugin doing it'own aggregation, you might want to reuse the ConfigParser class. By default this class will throw an Exception when a config key is encountered that it does not understand. You can handle the ''PLUGIN_STRUCT_CONFIGPARSER_UNKNOWNKEY'' event and prevent the default (of throwing the exception). You can add your own config to the ''config'' array in the event.+When you write a plugin doing its own aggregation, you might want to reuse the ConfigParser class. By default this class will throw an Exception when a config key is encountered that it does not understand. You can handle the ''PLUGIN_STRUCT_CONFIGPARSER_UNKNOWNKEY'' event and prevent the default (of throwing the exception). You can add your own config to the ''config'' array in the event.
  
 <code php> <code php>
Line 46: Line 46:
 </code> </code>
  
-Examples of plugins implenting this are: [[plugin:structgantt|structgantt Plugin]], [[plugin:structodt|structodt Plugin]]+Examples of plugins implementing this are: [[plugin:structgantt|structgantt Plugin]], [[plugin:structodt|structodt Plugin]]
  
  
Line 65: Line 65:
 </code> </code>
  
-Examples of plugins implenting this are: [[plugin:structrowcolor|structrowcolor Plugin]]+Examples of plugins implementing this are: [[plugin:structrowcolor|structrowcolor Plugin]]
  
plugin/struct/devel.1598002486.txt.gz · Last modified: 2020-08-21 11:34 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki