Group
Extension

Matches 1

CGI-Application-Plugin-ExtJS ( F/FR/FREW/CGI-Application-Plugin-ExtJS-1.000001.tar.gz, FREW, 2012; MetaCPAN )
CGI-Application-Plugin-ExtJS/lib/CGI/Application/Plugin/ExtJS.pm ( view source; MetaCPAN )
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

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.