« blib/lib/OpusVL/AppKit.pm
↑ Summary
blib/lib/OpusVL/AppKit/TraitFor/Controller/Login/NewSessionIdOnLogin.pm »
| 1 | package OpusVL::AppKit::Plugin::AppKit::Node; | ||
| 2 | |||
| 3 | 10 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 10 | has node_name => ( is => 'rw' , isa => 'Str' , required => 1 ); | |
| 6 | |||
| 7 | # Controller (if any) linked to this node.. | ||
| 8 | 10 | has controller => ( is => 'rw' , isa => 'Catalyst::Controller' ); | |
| 9 | |||
| 10 | # Action Path (if any) linked to this node.. | ||
| 11 | 10 | has action_path => ( is => 'rw' , isa => 'Str' ); | |
| 12 | |||
| 13 | # Array of roles that can access this node.. | ||
| 14 | 10 | has access_only => ( is => 'rw' , isa => 'ArrayRef' ); | |
| 15 | |||
| 16 | # Hash of attributes.. | ||
| 17 | 10 | has action_attrs => ( is => 'rw' , isa => 'HashRef' ); | |
| 18 | |||
| 19 | 10 | 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 | 10 | 1; | |
| 29 | |||
| 30 | __END__ | ||