X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=f1f2ebe96254d3cba94f899a4ed8cdea6d3b5170;hp=9e73489b339cfd540abddda1d2b0d5d95029ec0a;hb=a9dc674c99f36ff40d94b80753a1504074ba5e22;hpb=b41ee0975bfd2664027c3f0b0d839cff8fb1aaa2 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 9e73489..f1f2ebe 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -919,7 +919,7 @@ Finalize uploads. Cleans up any temporary files. sub finalize_uploads { my $c = shift; $c->engine->finalize_uploads( $c, @_ ) } -=item $c->get_action( $action, $namespace, $inherit ) +=item $c->get_action( $action, $namespace ) Get an action in a given namespace. @@ -927,6 +927,14 @@ Get an action in a given namespace. sub get_action { my $c = shift; $c->dispatcher->get_action( $c, @_ ) } +=item $c->get_actions( $action, $namespace ) + +Get all actions of a given name in a namespace and all base namespaces. + +=cut + +sub get_actions { my $c = shift; $c->dispatcher->get_actions( $c, @_ ) } + =item handle_request( $class, @arguments ) Handles the request. @@ -1562,6 +1570,16 @@ sub version { return $Catalyst::VERSION } =back +=head1 INTERNAL ACTIONS + +Catalyst uses internal actions like C<_DISPATCH>, C<_BEGIN>, C<_AUTO> +C<_ACTION> and C<_END>, these are by default not shown in the private +action table. + +But you can deactivate this with a config parameter. + + MyApp->config->{show_internal_actions} = 1; + =head1 CASE SENSITIVITY By default Catalyst is not case sensitive, so C becomes @@ -1705,6 +1723,8 @@ Matt S Trout Robert Sedlacek +Sam Vilain + Tatsuhiko Miyagawa Ulf Edvinsson