NAME
Mojolicious::Plugin::DataTables::SSP::Results - DataTables SSP Result Helper
SYNOPSIS
# Mojolicious
$self->plugin('DataTables');
# Mojolicious::Lite
plugin 'DataTables';
[...]
$c->render(json => $c->datatable->ssp_results(
draw => 1,
data => \@results,
records_total => 100,
records_filtered => 0
));
DESCRIPTION
Mojolicious::Plugin::DataTables::SSP::Results is a Mojolicious plugin to add DataTables SSP (Server-Side Protocol) support in your Mojolicious application.
METHODS
Mojolicious::Plugin::DataTables::SSP::Results implements the following methods.
draw
records_total
records_filtered
data
TO_JSON
SEE ALSO
Mojolicious, Mojolicious::Guides, https://mojolicious.org, Mojolicious::Plugin::DataTables, Mojolicious::Plugin::DataTables::SSP::Params.
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at https://github.com/giterlizzi/perl-Mojolicious-Plugin-DataTables/issues. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/giterlizzi/perl-Mojolicious-Plugin-DataTables
git clone https://github.com/giterlizzi/perl-Mojolicious-Plugin-DataTables.git
AUTHOR
Giuseppe Di Terlizzi <gdt@cpan.org>
LICENSE AND COPYRIGHT
This software is copyright (c) 2020-2021 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.