| 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 | ▶ | use base qw(WE::Obj); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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<Head> with the Id | ||
| 33 | of the "index.html" file of this folder. B<IndexDoc> is a synonym for | ||
| 34 | B<Head>. | ||
| 35 | |||
| 36 | =cut | ||
| 37 | |||
| 38 | 13 | __PACKAGE__->mk_accessors(qw(Head)); | |
| 39 | |||
| 40 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 41 | 13 | ▶ | use vars qw($VERSION); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 42 | 13 | $VERSION = sprintf("%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/); | |
| 43 | |||
| 44 | 0 | ▶ | sub instantiable { 0 } |
|
Subroutine
instantiable: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 45 | |||
| 46 | 0 | ▶ | sub IndexDoc { shift->Head(@_) } |
|
Subroutine
IndexDoc: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 47 | |||
| 48 | 13 | 1; | |
| 49 | |||
| 50 | __END__ | ||