X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FBase.pm;h=18e6f6e2d02ee2bc0a49b7086e94d2ec57a4d7a3;hp=7536dc66aee3eecd8e5ed99c41579aad3b22b1c3;hb=649fd1fa74ee22fb2f5220dbdcb25d02427034b2;hpb=f7b672efdb91a057a449b353d157bb74761a2d94 diff --git a/lib/Catalyst/Base.pm b/lib/Catalyst/Base.pm index 7536dc6..18e6f6e 100644 --- a/lib/Catalyst/Base.pm +++ b/lib/Catalyst/Base.pm @@ -72,10 +72,15 @@ See L Catalyst Base Class +This is the base class for all Catalyst components. It also handles +dispatch of actions for controllers. + =head1 METHODS =head2 $self->action_namespace($c) +Determine the namespace for actions in this component. + =cut sub action_namespace { @@ -88,12 +93,16 @@ sub action_namespace { =head2 $self->path_prefix($c) +alias for action_namespace + =cut sub path_prefix { shift->action_namespace(@_); } =head2 $self->register_actions($c) +register all actions for this component based on a given context. + =cut sub register_actions {