Rechercher une page de manuel
MojoX::Dispatcher::Routes::Controller.3pm
Langue: en
Version: 2010-08-12 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
MojoX::Dispatcher::Routes::Controller - Controller Base ClassSYNOPSIS
use base 'MojoX::Dispatcher::Routes::Controller';
DESCRIPTION
MojoX::Dispatcher::Routes::Controller is a controller base class.ATTRIBUTES
MojoX::Dispatcher::Routes::Controller inherits all attributes from MojoX::Session::Cookie::Controller implements the following attributes.match
my $m = $c->match;
A MojoX::Routes::Match object containing the routes results for the current request.
METHODS
MojoX::Dispatcher::Routes::Controller inherits all methods from MojoX::Session::Cookie::Controller and implements the following new ones.param
my $param = $c->param('foo'); my @params = $c->param('foo');
Request parameters and routes captures.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicious.org>.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre