1 package C4::Patroncards::Template;
6 use base qw(C4::Creators::Template);
8 use autouse 'Data::Dumper' => qw(Dumper);
11 use constant TEMPLATE_TABLE => 'creator_templates';
13 __PACKAGE__ =~ m/^C4::(.+)::.+$/;
18 push @_, "creator", $me;
19 return $self->SUPER::new(@_);
24 push @_, "table_name", TEMPLATE_TABLE, "creator", $me;
25 return $self->SUPER::retrieve(@_);
30 push @_, "table_name", TEMPLATE_TABLE, "creator", $me;
31 return $self->SUPER::delete(@_);
36 push @_, "table_name", TEMPLATE_TABLE, "creator", $me;
37 return $self->SUPER::save(@_);