Ignore:
Timestamp:
11/24/08 14:27:56 (4 years ago)
Author:
CrawfordCurrie
Message:

Item287: Rewrote significant chunk of plugins doc to simplify and improve developer doc. Added doc: protocol to %INCLUDE to support including core module documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EmptyPlugin/lib/Foswiki/Plugins/EmptyPlugin.pm

    r836 r920  
    3636for information on regarding deprecated handlers that are defined for 
    3737compatibility with older Foswiki versions. 
     38 
     39__BNOTE:__ All but the initPlugin are disabled. To enable a callback, remove =DISABLE_= from the function name. 
     40 
     41%STARTINCLUDE% 
    3842 
    3943__NOTE:__ When writing handlers, keep in mind that these may be invoked 
     
    97101a non-zero value. On non-fatal failure, should write a message 
    98102using Foswiki::Func::writeWarning and return 0. In this case 
    99 %FAILEDPLUGINS% will indicate which plugins failed. 
     103%<nop>FAILEDPLUGINS% will indicate which plugins failed. 
    100104 
    101105In the case of a catastrophic failure that will prevent the whole 
     
    105109You may also call =Foswiki::Func::registerTagHandler= here to register 
    106110a function to handle variables that have standard Foswiki syntax - for example, 
    107 =%MYTAG{"my param" myarg="My Arg"}%. You can also override internal 
     111=%<nop>MYTAG{"my param" myarg="My Arg"}%. You can also override internal 
    108112Foswiki variable handling functions this way, though this practice is unsupported 
    109113and highly dangerous! 
     
    355359XYZ 
    356360</pre> 
     361</verbatim> 
    357362the map will contain: 
    358363<pre> 
Note: See TracChangeset for help on using the changeset viewer.