widget documentation
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Collection / Grid / Member.pm
CommitLineData
2f670e13 1package Reaction::UI::Widget::Collection::Grid::Member;
7b78a39d 2
3use Reaction::UI::WidgetClass;
4
bae75bee 5use namespace::clean -except => [ qw(meta) ];
6extends 'Reaction::UI::Widget::Object';
2f670e13 7
bae75bee 8__PACKAGE__->meta->make_immutable;
9
7b78a39d 101;
11
12__END__;
13
5a1a893e 14=head1 NAME
15
f9b32c83 16Reaction::UI::Widget::Collection::Grid::Member - A member widget of the Grid widget
5a1a893e 17
18=head1 DESCRIPTION
7b78a39d 19
f9b32c83 20A pure subclass of L<Reaction::UI::Widget::Object> representing a member
21in a L<Reaction::UI::Widget::Collection::Grid>.
22
2f670e13 23=head1 FRAGMENTS
7b78a39d 24
f9b32c83 25This widget defines no additional fragments.
26
27=head1 LAYOUT SETS
28
29=head2 base
30
31 share/skin/base/layout/collection/grid/member.tt
32
33The following layouts are provided:
34
35=over 4
36
37=item widget
38
39Renders the C<field_list> fragment provided initially by L<Reaction::UI::Widget::Object>.
40
41=item field
42
43Renders the next C<field> fragment in the inheritance hierarchy.
44
45=back
46
47=head2 default
48
49 share/skin/default/layout/collection/grid/member.tt
50
51This layout set extends the C<NEXT> skin in the inheritance hierarchy.
52
53Like with L<Reaction::UI::Widget::Collection::Grid>, the C<default> layout set provides
54a table based markup for the abstract view logic defined in the C<base> skin.
55
56The following layouts are provided:
57
58=over 4
59
60=item widget
61
62Renders the next C<widget> fragment surrounded by a C<tr> element.
63
64=item field
65
66Renders the next C<field> fragment surrounded by a C<td> element.
67
68=back
69
70=head1 SEE ALSO
71
72=over 4
73
74=item * L<Reaction::UI::Widget::Collection::Grid>
75
76=item * L<Reaction::UI::Widget::Collection::Grid::Member::WithActions>
77
78=back
79
5a1a893e 80=head1 AUTHORS
7b78a39d 81
5a1a893e 82See L<Reaction::Class> for authors.
7b78a39d 83
5a1a893e 84=head1 LICENSE
7b78a39d 85
5a1a893e 86See L<Reaction::Class> for the license.
7b78a39d 87
88=cut