PerlDoc

15 Mar 2026 - 13:52 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Plugins
Child packages:

internal package Foswiki::Plugins::LikePlugin

base class to hook into the foswiki core

initPlugin($topic, $web, $user) → $boolean

initialize the plugin, automatically called during the core initialization process

ClassMethod finish()

called when this object is destroyed

getCore() → $core

returns a singleton Foswiki::Plugins::LikePlugin::Core object for this plugin; a new core is allocated during each session request; once a core has been created it is destroyed during finishPlugin()

ClassMethod afterRenameHandler()

called by the core whenever a topic or attachment is renamed

ClassMethod registerAfterLikeHandler($sub)

register a callback handler to be called whenever a like is performed

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback
This website is using cookies. More info. That's Fine