line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Mojolicious::Plugin::DataTables::SSP::Column; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
12
|
use Mojo::Base -base; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
11
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '2.01'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'data'; |
9
|
|
|
|
|
|
|
has 'database'; |
10
|
|
|
|
|
|
|
has 'formatter'; |
11
|
|
|
|
|
|
|
has 'label'; |
12
|
|
|
|
|
|
|
has 'name'; |
13
|
|
|
|
|
|
|
has 'orderable'; |
14
|
|
|
|
|
|
|
has 'search'; |
15
|
|
|
|
|
|
|
has 'searchable'; |
16
|
|
|
|
|
|
|
has 'row'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=encoding utf8 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Mojolicious::Plugin::DataTables::SSP::Column - DataTables SSP Column Helper |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# Mojolicious |
29
|
|
|
|
|
|
|
$self->plugin('DataTables'); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
# Mojolicious::Lite |
32
|
|
|
|
|
|
|
plugin 'DataTables'; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L is a L plugin to add DataTables SSP (Server-Side Protocol) support in your Mojolicious application. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 METHODS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
L implements the following methods. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 data |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head2 database |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 formatter |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 label |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 name |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 orderable |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 search |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 searchable |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 row |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 SEE ALSO |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L, L, L, L. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 SUPPORT |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Please report any bugs or feature requests through the issue tracker |
73
|
|
|
|
|
|
|
at L. |
74
|
|
|
|
|
|
|
You will be notified automatically of any progress on your issue. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 Source Code |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This is open source software. The code repository is available for |
79
|
|
|
|
|
|
|
public review and contribution under the terms of the license. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
L |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
git clone https://github.com/giterlizzi/perl-Mojolicious-Plugin-DataTables.git |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 AUTHOR |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=over 4 |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item * Giuseppe Di Terlizzi |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=back |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This software is copyright (c) 2020-2021 by Giuseppe Di Terlizzi. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
100
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |