internal package Foswiki::Plugins::ImagePlugin

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

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

Topic revision: r1 - 21 Nov 2014, ProjectContributor
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 Irish Doughnut Economics Network? Send feedback