Line: 70 to 70 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | ObjectMethod finish ()Break circular references. | |||||||
ObjectMethod load ($allDisabled) -> $loginNameFind all active plugins, and invoke the early initialisation. | ||||||||
Line: 104 to 109 | ||||||||
ObjectMethod addListener ($command,$handler) | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 157 to 162 | ||||||||
XYZ | ||||||||
Added: | ||||||||
> > | ||||||||
the map will contain: | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
$removed->{'pre1'}{text}: XYZ $removed->{'pre1'}{params}: class="slobadob" | ||||||||
Deleted: | ||||||||
< < | ||||||||
Iterating over blocks for a single tag is easy. For example, to prepend a line number to every line of a pre block you might use this code: | ||||||||
Added: | ||||||||
> > | ||||||||
foreach my $placeholder ( keys %$map ) { if( $placeholder =~ /^pre/i ) { my $n = 1; $map->{$placeholder}{text} =~ s/^/$n++/gem; } } | ||||||||
Added: | ||||||||
> > | ||||||||
Line: 268 to 275 | ||||||||
This code provides Plugins with the opportunity to alter an uploaded attachment between the upload and save-to-store processes. It is invoked as per other Plugins.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Keys in $attrHashRef:
| ||||||||
Line: 294 to 301 | ||||||||
deal with an uploaded attachment between the upload and save-to-store processes. It is invoked as per other plugins.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Keys in $attrHashRef:
| ||||||||
Line: 311 to 318 | ||||||||
ObjectMethod writeHeaderHandler () -> $headers | ||||||||
Deleted: | ||||||||
< < | Called by TWiki::writePageHeader. DEPRECATED do not use! | |||||||
DEPRECATED Use modifyHeaderHandler instead. it is a lot more flexible, and allows you to modify existing headers as well as add new ones. It also works correctly when | ||||||||
Line: 324 to 329 | ||||||||
Added: | ||||||||
> > | ObjectMethod completePageHandler ($text,$pageType,$contentType) | |||||||
ObjectMethod redirectCgiQueryHandler () -> $resultCalled by TWiki::redirect |