File Coverage

blib/lib/WE/Obj/FolderObj.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod 1 2 50.0
total 13 18 72.2


line stmt bran cond sub pod time code
1             # -*- perl -*-
2              
3             #
4             # $Id: FolderObj.pm,v 1.4 2003/12/04 22:24:48 eserte Exp $
5             # Author: Slaven Rezic
6             #
7             # Copyright (C) 2001 Online Office Berlin. All rights reserved.
8             # Copyright (C) 2002 Slaven Rezic.
9             # This is free software; you can redistribute it and/or modify it under the
10             # terms of the GNU General Public License, see the file COPYING.
11              
12             #
13             # Mail: slaven@rezic.de
14             # WWW: http://we-framework.sourceforge.net
15             #
16              
17             package WE::Obj::FolderObj;
18              
19 13     13   81 use base qw(WE::Obj);
  13         21  
  13         1336  
20              
21             =head1 NAME
22              
23             WE::Obj::FolderObj - base class for folder-like objects
24              
25             =head1 SYNOPSIS
26              
27              
28             =head1 DESCRIPTION
29              
30             This is a base class for all objects containing other objects.
31              
32             DocObj instances can hold the additional attribute B with the Id
33             of the "index.html" file of this folder. B is a synonym for
34             B.
35              
36             =cut
37              
38             __PACKAGE__->mk_accessors(qw(Head));
39              
40 13     13   84 use strict;
  13         27  
  13         590  
41 13     13   69 use vars qw($VERSION);
  13         24  
  13         2151  
42             $VERSION = sprintf("%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/);
43              
44 0     0 1   sub instantiable { 0 }
45              
46 0     0 0   sub IndexDoc { shift->Head(@_) }
47              
48             1;
49              
50             __END__