Anthony Brummett > UR-0.40 > UR::Object::View::Aspect

Download:
UR-0.40.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.40   Source   Latest Release: UR-0.43

NAME ^

UR::Object::View::Aspect - a specification for one aspect of a view

SYNOPSIS ^

 my $v = $o->create_view(
   perspective => 'default',
   toolkit => 'xml',
   aspects => [
     'id',
     'name',
     'title',
     { 
        name => 'department', 
        perspective => 'logo'
     },
     { 
        name => 'boss',
        label => 'Supervisor',
        aspects => [
            'name',
            'title',
            { 
              name => 'subordinates',
              perspective => 'graph by title'
            }
        ]
     }
   ]
 );
syntax highlighting: