aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Controller.pm
diff options
context:
space:
mode:
authorphaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-02-09 20:25:06 +0000
committerphaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-02-09 20:25:06 +0000
commit63bb30b44346800078dc638dcc484828d89c2ad4 (patch)
tree2fe675d2533d3674da13bcf6d8c9cf9af055156f /lib/Reaction/UI/Controller.pm
parent443dd74308a626a47f069bbb962fabbbb9c2842a (diff)
downloadreaction-63bb30b44346800078dc638dcc484828d89c2ad4.tar.gz
reaction-63bb30b44346800078dc638dcc484828d89c2ad4.zip
documentation update, some api docs, overview and tutorial upto first DM and IM including CRUD
Diffstat (limited to 'lib/Reaction/UI/Controller.pm')
-rw-r--r--lib/Reaction/UI/Controller.pm21
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Controller.pm b/lib/Reaction/UI/Controller.pm
index 45a85d8..6788b40 100644
--- a/lib/Reaction/UI/Controller.pm
+++ b/lib/Reaction/UI/Controller.pm
@@ -93,7 +93,26 @@ __END__;
=head1 NAME
-Reaction::UI::Controller
+Reaction::UI::Controller - Reaction Base Controller Class
+
+=head1 SYNOPSIS
+
+ package MyApp::Controller::Foo;
+ use strict;
+ use warnings;
+ use parent 'Reaction::UI::Controller';
+
+ use aliased 'Reaction::UI::ViewPort';
+
+ sub foo: Chained('/base') Args(0) {
+ my ($self, $ctx) = @_;
+
+ $ctx->push_viewport(ViewPort,
+ layout => 'foo',
+ );
+ }
+
+ 1;
=head1 DESCRIPTION