| 1 | package Kwiki::PoweredBy; | ||
| 2 | 1 | ▶ | use Kwiki::Plugin -Base; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use mixin 'Kwiki::Installer'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | our $VERSION = '0.11'; | |
| 5 | |||
| 6 | 1 | const class_id => 'powered_by'; | |
| 7 | 1 | const css_file => 'powered_by.css'; | |
| 8 | |||
| 9 | 0 | ▶ | sub register { |
|
Subroutine
register: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 10 | 0 | my $registry = shift; | |
| 11 | 0 | $registry->add(preload => $self->class_id); | |
| 12 | 0 | $registry->add(widget => 'powered_by', | |
| 13 | template => 'powered_by.html', | ||
| 14 | ); | ||
| 15 | } | ||
| 16 | |||
| 17 | 1 | __DATA__ | |