University of Natural Resources and Life Sciences (BOKU)
Institute of Computational Biology

PerlDoc

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::JQueryPlugin
Child packages:

    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 - 2023-08-06, UnknownUser
    2024-10-05 - 17:30 Foswiki v2.1.8