| Catalyst-Controller-DBIC-API documentation | Contained in the Catalyst-Controller-DBIC-API distribution. |
Catalyst::Controller::DBIC::API::Request - Provides a role to be applied to the Request object
version 2.003002
Please see Catalyst::Controller::DBIC::API::RequestArguments and Catalyst::Controller::DBIC::API::Request::Context for the details of this class, as both of those roles are consumed in this role.
This attribute helps bridge between the request guts and the application guts; allows request argument validation against the schema. This is set during inflate_request in Catalyst::Controller::DBIC::API
This software is copyright (c) 2011 by Luke Saunders, Nicholas Perez, Alexander Hartmaier, et al..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Catalyst-Controller-DBIC-API documentation | Contained in the Catalyst-Controller-DBIC-API distribution. |
package Catalyst::Controller::DBIC::API::Request; BEGIN { $Catalyst::Controller::DBIC::API::Request::VERSION = '2.003002'; } #ABSTRACT: Provides a role to be applied to the Request object use Moose::Role; use MooseX::Types::Moose(':all'); use namespace::autoclean; #XXX HACK to satisfy the used roles requirements # see Moose test 600_todo_tests/006_required_role_accessors.t sub _application {} sub _controller {} has '_application' => ( is => 'ro', writer => '_set_application', isa => Object|ClassName, ); has '_controller' => ( is => 'ro', writer => '_set_controller', isa => Object, trigger => sub { my ($self, $new) = @_; $self->_set_class($new->class) if defined($new->class); $self->_set_application($new->_application); $self->_set_search_exposes($new->search_exposes); $self->_set_select_exposes($new->select_exposes); }, handles => ['prefetch_validator'], ); with 'Catalyst::Controller::DBIC::API::StoredResultSource', 'Catalyst::Controller::DBIC::API::RequestArguments', 'Catalyst::Controller::DBIC::API::Request::Context'; 1; __END__