internal package Foswiki::Plugins::JQueryPlugin::EMPTY

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::JQueryPlugin::EMPTY

This is the perl stub for the jquery.empty plugin.

ClassMethod new( $class, ... )

Constructor

ClassMethod init( $this )

Initialize this plugin by adding the required static files to the html header

ClassMethod handleEMPTY( $this, $params, $topic, $web ) → $result

Tag handler for %EMPTY%. You might need to add to Foswiki::Plugins::JQueryPlugin::initPlugin() the following:

  Foswiki::Func::registerTagHandler('EMPTY', \&handleEMPTY );

and also

sub handleEMPTY {
  my $session = shift;
  my $plugin = createPlugin('Empty', $session);
  return $plugin->handleEMPTY(@_) if $plugin;
  return '';
}

Topic revision: r1 - 2014-11-21, 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 Foswiki? Send feedback