mantisbt:plugins_sample
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mantisbt:plugins_sample [2008/02/08 11:21] – Updated Supercow plugin jreese | mantisbt:plugins_sample [2013/06/21 09:54] (current) – atrol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Sample Plugins ====== | ====== Sample Plugins ====== | ||
| + | |||
| ===== Super Cow Powers ===== | ===== Super Cow Powers ===== | ||
| Line 18: | Line 19: | ||
| class SupercowPlugin extends MantisPlugin { | class SupercowPlugin extends MantisPlugin { | ||
| - | | + | |
| + | | ||
| $this-> | $this-> | ||
| $this-> | $this-> | ||
| Line 39: | Line 41: | ||
| * Handle the EVENT_PLUGIN_INIT callback. | * Handle the EVENT_PLUGIN_INIT callback. | ||
| */ | */ | ||
| - | function | + | function |
| header( ' | header( ' | ||
| } | } | ||
| + | |||
| + | } | ||
| </ | </ | ||
| Line 100: | Line 104: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | |||
mantisbt/plugins_sample.1202487692.txt.gz · Last modified: (external edit)
