hook(type => "getopt", id => "skeleton", call => \&getopt);
hook(type => "getsetup", id => "skeleton", call => \&getsetup);
hook(type => "checkconfig", id => "skeleton", call => \&checkconfig);
+ hook(type => "refresh", id => "skeleton", call => \&refresh);
hook(type => "needsbuild", id => "skeleton", call => \&needsbuild);
hook(type => "preprocess", id => "skeleton", call => \&preprocess);
hook(type => "filter", id => "skeleton", call => \&filter);
hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup);
hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
hook(type => "savestate", id => "skeleton", call => \&savestate);
+ hook(type => "targetpage", id => "skeleton", call => \&targetpage);
+ hook(type => "urlpath", id => "skeleton", call => \&urlpath);
} # }}}
sub getopt () { #{{{
sub getsetup () { #{{{
return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
skeleton => {
type => "boolean",
- default => 0,
+ example => 0,
description => "example option",
safe => 0,
rebuild => 0,
debug("skeleton plugin checkconfig");
} #}}}
+sub refresh () { #{{{
+ debug("skeleton plugin refresh");
+} #}}}
+
sub needsbuild () { #{{{
debug("skeleton plugin needsbuild");
} #}}}
debug("skeleton plugin running in auth");
} #}}}
-sub sessionncgi ($$) { #{{{
+sub sessioncgi ($$) { #{{{
my $cgi=shift;
my $session=shift;
debug("skeleton plugin running in savestate");
} #}}}
+sub targetpage () { #{{{
+ debug("skeleton plugin running in targetpage");
+} #}}}
+
+sub urlpath () { #{{{
+ debug("skeleton plugin running in urlpath");
+} #}}}
+
1