PerlDoc

2024-12-18 - 14:20 | 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::ImagePlugin

base class to hook into the foswiki core

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

initialize the plugin, automatically called during the core initialization process

ClassMethod getCore() → $core

returns a singleton Foswiki::Plugins::ImagePlugin::Core

ClassMethod finishPlugin()

finish the plugin and the core if it has been used, automatically called during the core initialization process

ClassMethod ObjectMethod afterRenameHandler()

ClassMethod afterSaveHandler()

ClassMethod commonTagsHandler()

ClassMethod takeOutBlocks($text, $tag, $map) → $processedText

compatibility wrapper

ClassMethod putBackBlocks($text, $tag, $map) → $processedText

compatibility wrapper

ClassMethod renderLocalImage($web, $topic, $text) → $result

handles local images, called by commonTagsHandler()

ObjectMethod renderExternalImage(web, $topic, $prefix, $url) → $result

handles external images, called by commonTagsHandler()

ClassMethod getPubUrl()

compatibility wrapper, returns the absolute pub url

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 Foswiki? Send feedback
This website is using cookies. More info. That's Fine