ECommerce/Plugin/Basket/Help.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
template_path
2.0
http_get
2.0
BEGIN
2.0
CRAP 2.0
1 # -------------------------------------------------------------------------------------
2 # flo::plugin::Shop::Basket::Help
3 # -------------------------------------------------------------------------------------
4 # Author : Jean-Michel Hiver <jhiver@mkdoc.com>.
5 # Copyright : (c) MKDoc Holdings Ltd, 2003
6 #
7 # In the unfortunate event where a user doesn't support cookies or isn't logged in,
8 # displays some help and hope they don't go away.
9 # -------------------------------------------------------------------------------------
10 package flo::plugin::Shop::Basket::Help;
11 use strict;
12 use warnings;
13 use MKDoc::Ouch;
14 use flo::Standard;
15  
16 use base qw /flo::Plugin/;
17  
18  
19 ##
20 # $self->template_path();
21 # -----------------------
22 # Returns the template path in which to find the shopping
23 # basket templates.
24 ##
25 sub template_path
26 {
27 my $self = shift;
28 return 'shop/basket/help';
29 }
30  
31  
32 ##
33 # $self->http_get;
34 # ----------------
35 # Displays the form which lets the editor choose which audiences
36 # the current document relates to.
37 ##
38 sub http_get
39 {
40 my $self = shift;
41 $self->render_http (
42 self => $self,
43 __input__ => 'XML',
44 __output__ => 'XHTML',
45 );
46
47 return 'TERMINATE';
48 }
49  
50  
51 1;