Plugin::ExtJS::VERSION = '1.000001';
}
# ABSTRACT: Convert paginated DBIx::Class::ResultSet's to JSON-style structures
use strict;
use warnings;
require Exporter;
use Scalar::Util 'blessed';
use b
xt_paginate {
my $self = shift;
my $resultset = shift;
my $method = shift || 'TO_JSON';
return $self->ext_parcel(
[map { blessed($_) ? $_->$method : $_ } $resultset->all],
ass::ResultSet's to JSON-style structures
=head1 VERSION
version 1.000001
=head1 SYNOPSIS
use CGI::Application::Plugin::ExtJS ':all';
sub people {
# ...
my $json = $self->ext_pagina