~ubuntu-branches/ubuntu/trusty/libhtml-widgets-navmenu-perl/trusty

« back to all changes in this revision

Viewing changes to lib/HTML/Widgets/NavMenu/JQueryTreeView.pm

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2011-04-23 19:50:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110423195053-ae3fmok1w4vw8czk
Tags: 1.0600-1
* New upstream release.
* Set Standards-Version to 3.9.2 (no changes).
* Add /me to Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package HTML::Widgets::NavMenu::JQueryTreeView;
 
2
 
 
3
use strict;
 
4
use warnings;
 
5
 
 
6
use base 'HTML::Widgets::NavMenu';
 
7
 
 
8
require HTML::Widgets::NavMenu::Iterator::JQTreeView;
 
9
 
 
10
sub _get_nav_menu_traverser
 
11
{
 
12
    my $self = shift;
 
13
 
 
14
    return 
 
15
        HTML::Widgets::NavMenu::Iterator::JQTreeView->new(
 
16
            $self->_get_nav_menu_traverser_args()
 
17
        );
 
18
}
 
19
 
 
20
1;
 
21
 
 
22
__END__
 
23
 
 
24
=head1 NAME
 
25
 
 
26
HTML::Widgets::NavMenu::JQueryTreeView - A Specialized HTML::Widgets::NavMenu 
 
27
sub-class
 
28
 
 
29
=head1 SYNOPOSIS
 
30
 
 
31
Mostly the same as L<HTML::Widgets::NavMenu> execpt that it renders a fully 
 
32
expanded tree suitable for input to JQuery's treeview plugin
 
33
 
 
34
=head1 DESCRIPTION
 
35
 
 
36
This module renders all nodes but places C< class="open" > 
 
37
and C< class="close" > attributes in the opening C<< <li> >> tags.
 
38
 
 
39
An example of this use can be found in Shlomi Fish's Homepage
 
40
( L<http://www.shlomifish.org/> ).
 
41
 
 
42
=head1 SEE ALSO
 
43
 
 
44
L<HTML::Widgets::NavMenu> for the complete documentation of the super-class.
 
45
 
 
46
=head1 AUTHORS
 
47
 
 
48
Shlomi Fish ( L<http://www.shlomifish.org/> ).
 
49
 
 
50
=head1 COPYRIGHT AND LICENSE
 
51
 
 
52
Copyright 2004, Shlomi Fish. All rights reserved.
 
53
 
 
54
You can use, modify and distribute this module under the terms of the MIT X11
 
55
license. ( L<http://www.opensource.org/licenses/mit-license.php> ).
 
56
 
 
57
=cut 
 
58