| 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 | ||