| 1 | package Jifty::Plugin::ModelMap; | ||
| 2 | 2 | ▶ | use base qw/Jifty::Plugin/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | Jifty::Plugin::ModelMap - Render model map with GraphViz. | ||
| 10 | |||
| 11 | =head1 VERSION | ||
| 12 | |||
| 13 | Version 0.01 | ||
| 14 | |||
| 15 | =cut | ||
| 16 | |||
| 17 | 2 | our $VERSION = '0.02'; | |
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | Add the following to your site_config.yml | ||
| 22 | |||
| 23 | framework: | ||
| 24 | Plugins: | ||
| 25 | - ModelMap: {} | ||
| 26 | |||
| 27 | This makes the following URL available: | ||
| 28 | |||
| 29 | http://your.app/model_map | ||
| 30 | |||
| 31 | =head1 SEE ALSO | ||
| 32 | |||
| 33 | L<Jifty>, L<GraphViz> | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | bokutin, C<< <bokutin at cpan.org> >> | ||
| 38 | |||
| 39 | =head1 COPYRIGHT & LICENSE | ||
| 40 | |||
| 41 | Copyright 2008 bokutin, all rights reserved. | ||
| 42 | |||
| 43 | This program is free software; you can redistribute it and/or modify it | ||
| 44 | under the same terms as Perl itself. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | 2 | 1; # End of Jifty::Plugin::ModelMap | |