blib/lib/OpusVL/AppKit/Plugin/AppKit/Node.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/OpusVL/AppKit.pm ↑ Summary blib/lib/OpusVL/AppKit/RolesFor/Auth.pm »
1 package OpusVL::AppKit::Plugin::AppKit::Node;
2  
3 13 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 13 has node_name => ( is => 'rw' , isa => 'Str' , required => 1 );
6  
7 # Controller (if any) linked to this node..
8 13 has controller => ( is => 'rw' , isa => 'Catalyst::Controller' );
9  
10 # Action Path (if any) linked to this node..
11 13 has action_path => ( is => 'rw' , isa => 'Str' );
12  
13 # Array of roles that can access this node..
14 13 has access_only => ( is => 'rw' , isa => 'ArrayRef' );
15  
16 # Hash of attributes..
17 13 has action_attrs => ( is => 'rw' , isa => 'HashRef' );
18  
19 13 has in_feature => ( is => 'rw', isa => 'Bool', required => 1 );
20  
21 # maybe for future use?.... currently being delt with in the Base::Controller::GUI...
22 # has navigation => ( is => 'rw' , isa => 'Int' , default => 0 );
23 # has navigation_name => ( is => 'rw' , isa => 'Str' );
24 # has home_navigation => ( is => 'rw' , isa => 'Int' , default => 0 );
25 # has portlet => ( is => 'rw' , isa => 'Int' , default => 0 );
26 # has portlet_name => ( is => 'rw' , isa => 'Str' );
27  
28 13 1;
29  
30 __END__
31  
32 =pod
33  
34 =encoding UTF-8
35  
36 =head1 NAME
37  
38 OpusVL::AppKit::Plugin::AppKit::Node
39  
40 =head1 VERSION
41  
42 version 2.24
43  
44 =head1 AUTHOR
45  
46 OpusVL - www.opusvl.com
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
51  
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54  
55 =cut
« blib/lib/OpusVL/AppKit.pm ↑ Summary blib/lib/OpusVL/AppKit/RolesFor/Auth.pm »