OpenFrame::WebApp::Segment::User - abstract class for getting Users


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.

Index


NAME

Top

OpenFrame::WebApp::Segment::User - abstract class for getting Users from the store.

SYNOPSIS

Top

  # abstract class - cannot be used directly

  use base qw( OpenFrame::WebApp::Segment::User );

  sub dispatch {
      ...
      my $user $self->get_user_from_store;
      ...
  }

DESCRIPTION

Top

The OpenFrame::WebApp::Segment::User class provides a method for getting User objects from the store.

This class inherits its interface from Pipeline::Segment. You must override dispatch() for it to do anything.

METHODS

Top

get_user_from_store

If the store is a Pipeline::Store::ISA, looks for a descendant of OpenFrame::WebApp::User, otherwise looks for known OpenFrame::WebApp::User->types().

AUTHOR

Top

Steve Purkis <spurkis@epn.nu>

COPYRIGHT

Top

SEE ALSO

Top

Pipeline::Segment, OpenFrame::WebApp::User


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.