Catalyst::DispatchType::Index.3pm

Langue: en

Version: 2007-09-20 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Catalyst::DispatchType::Index - Index DispatchType

SYNOPSIS

See Catalyst.

DESCRIPTION

METHODS


$self->match( $c, $path )


$self->match( $c, $path )

Check if there's an index action for a given path, and set it up to use it if there is; only matches a full URI - if $c->req->args is already set this DispatchType is guaranteed not to match.

$self->uri_for_action( $action, $captures )


$self->uri_for_action( $action, $captures )

get a URI part for an action; always returns undef is $captures is set since index actions don't have captures

AUTHOR

Sebastian Riedel, "sri@cpan.org" This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.