aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/View.pm
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-31 10:07:29 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-31 10:07:29 +0000
commit349a57a4fc068a20f80a90e36fb38efa00142f47 (patch)
tree6db70107e632ad953ba294a54bf6aee5b0642107 /lib/Reaction/UI/View.pm
parent31df0e49922a6d8932fd92656f78eff71fd55b5a (diff)
downloadreaction-349a57a4fc068a20f80a90e36fb38efa00142f47.tar.gz
reaction-349a57a4fc068a20f80a90e36fb38efa00142f47.zip
added widget_search_path option (ignored), defaults.conf support and moved file extension to View
Diffstat (limited to 'lib/Reaction/UI/View.pm')
-rw-r--r--lib/Reaction/UI/View.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Reaction/UI/View.pm b/lib/Reaction/UI/View.pm
index d4fd436..1b492b8 100644
--- a/lib/Reaction/UI/View.pm
+++ b/lib/Reaction/UI/View.pm
@@ -118,6 +118,10 @@ class View which {
return $cache->{$lset_name} ||= $self->create_layout_set($lset_name);
};
+ implements 'layout_set_file_extension' => as {
+ confess View." is abstract, you must subclass it";
+ };
+
implements 'find_related_class' => as {
my ($self, $rel) = @_;
my $own_class = ref($self) || $self;