| 1 | package Apache::AxKit::Provider::RDBMS::ContentProvider; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | |||
| 5 | sub new { | ||
| 6 | my $class = shift; | ||
| 7 | my $this = { apache => shift }; | ||
| 8 | |||
| 9 | bless $this, $class; | ||
| 10 | |||
| 11 | $this->init(); | ||
| 12 | |||
| 13 | return $this; | ||
| 14 | } | ||
| 15 | |||
| 16 | sub init { | ||
| 17 | } | ||
| 18 | |||
| 19 | sub getContent { | ||
| 20 | throw Apache::AxKit::Exception::Error( -text => "subclasses must implement this method" ); | ||
| 21 | } | ||
| 22 | |||
| 23 | 1; |