Oleg A. Mamontov
and 1 contributors

NAME

Catalyst::Plugin::Widget::WithResultSet - Widget having DBIx::ResultSet

SYNOPSIS

  package MyApp::Widget::Sample;
  use Moose;
  extends 'Catalyst::Plugin::Widget::Base';
  with    'Catalyst::Plugin::Widget::WithResultSet';

  has '+rs' => ( is => 'rw', default => 'Schema::User' );

  1;

METHODS

rs

DBIx::Class::ResultSet instance or string shortcut for Catalyst-Model-DBIC-Schema.

order_by

Default ordering for 'resultset' (if any specified).

resultset

DBIx::Class::ResultSet instance.