blib/lib/OpusVL/AppKit.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Excel/Template/Plus/TTAutoFilter.pm ↑ Summary blib/lib/OpusVL/AppKit/Plugin/AppKit/Node.pm »
1 package OpusVL::AppKit;
2  
3  
4 ##################################################################################################################################
5 # use lines #
6 ##################################################################################################################################
7  
8 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 11 ▶use OpusVL::AppKit::Builder;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 11 our $VERSION = '2.22';
12  
13 ##################################################################################################################################
14 # main #
15 ##################################################################################################################################
16  
17 # Make the Builder object and run the ->bootstrap so this becomes a AppBuilder inheritable application.. see:
18 # OpusVL::AppKit::Builder
19 # CatalystX::AppBuilder
20  
21 11 my $builder = OpusVL::AppKit::Builder->new( appname => __PACKAGE__, version => $VERSION );
22 11 $builder->bootstrap;
23  
24 ##################################################################################################################################
25 11 1;
26  
27 __END__
28  
29 =pod
30  
31 =encoding UTF-8
32  
33 =head1 NAME
34  
35 OpusVL::AppKit
36  
37 =head1 VERSION
38  
39 version 2.22
40  
41 =head1 SYNOPSIS
42  
43 You use inherite the OpusVL::AppKit by making the following files to your MyApp.
44  
45 F<MyApp.pm>:
46  
47 package MyApp;
48 use strict;
49 use warnings;
50 use MyApp::Builder;
51
52 MyApp::Builder->new(appname => __PACKAGE__)->bootstrap;
53  
54 F<MyApp/Builder.pm>:
55  
56 package MyApp::Builder;
57 use Moose;
58 extends 'OpusVL::AppKit::Builder';
59 override _build_superclasses => sub
60 {
61 return [ 'OpusVL::AppKit' ]
62 };
63  
64 F<myapp.conf>:
65
66 <OpusVL::AppKit::Plugin::AppKit>
67 access_denied "access_notallowed"
68 <acl_rules>
69 somecontroller/someaction "somerole"
70 somecontroller/someaction "someotherrole"
71 somecontroller/someotheraction "somerole"
72 </acl_rules>
73 </OpusVL::AppKit::Plugin::AppKit>
74  
75 =head1 DESCRIPTION
76  
77 This is a Catalyst Application that was built with the intention of being inherited by using AppBuilder.
78  
79 You can do 2 things with thie application:
80 1. Enable your catalyst app to use it.
81 2. Add your catalyst app to it.
82  
83 The SYNOPSIS above shows how your can enable your catalyst app to use it (option 1).
84  
85 For option 2 .. Add your catalyst app to it.. see OpusVL::AppKit::Base::Controller::GUI.
86  
87 =head1 NAME
88  
89 OpusVL::AppKit - Catalyst based application
90  
91 =head1 SEE ALSO
92  
93 L<OpusVL::AppKit::Plugin::AppKit>,
94 L<OpusVL::AppKit::Base::Controller::GUI>,
95 L<OpusVL::AppKit::Controller::Root>,
96 L<Catalyst>
97  
98 =head1 SUPPORT
99  
100 If you require assistance, support, or further development of this software, please contact OpusVL using the details below:
101  
102 =over 4
103  
104 =item *
105  
106 Telephone: +44 (0)1788 298 410
107  
108 =item *
109  
110 Email: community@opusvl.com
111  
112 =item *
113  
114 Web: L<http://opusvl.com>
115  
116 =back
117  
118 =head1 AUTHOR
119  
120 OpusVL - www.opusvl.com
121  
122 =head1 COPYRIGHT AND LICENSE
123  
124 This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
125  
126 This is free software; you can redistribute it and/or modify it under
127 the same terms as the Perl 5 programming language system itself.
128  
129 =cut
« blib/lib/Excel/Template/Plus/TTAutoFilter.pm ↑ Summary blib/lib/OpusVL/AppKit/Plugin/AppKit/Node.pm »