| 1 | # -*- perl -*- | ||
| 2 | |||
| 3 | # | ||
| 4 | # $Id: HWContent.pm,v 1.3 2003/01/16 14:29:10 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::DB::HWContent; | ||
| 18 | |||
| 19 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 1 | ▶ | use vars qw($VERSION); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 1 | $VERSION = sprintf("%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/); | |
| 22 | |||
| 23 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | my($class, $root) = @_; | |
| 25 | 0 | my $self = {Root => $root}; | |
| 26 | 0 | bless $self, $class; | |
| 27 | } | ||
| 28 | |||
| 29 | 0 | ▶ | sub store { |
|
Subroutine
store: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 30 | 0 | my($self, $obj, $content) = @_; | |
| 31 | 0 | die "NYI"; | |
| 32 | } | ||
| 33 | |||
| 34 | 0 | ▶ | sub get_content { |
|
Subroutine
get_content: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 35 | 0 | my($self, $obj) = @_; | |
| 36 | # XXX diff between HTML and text | ||
| 37 | 0 | $self->{Root}->ObjDB->HW->get_text($obj->Id); | |
| 38 | } | ||
| 39 | |||
| 40 | 1 | 1; | |
| 41 | |||
| 42 | __END__ | ||