OpenFrame::WebApp::User - users for OpenFrame-WebApp
use OpenFrame::WebApp::User; my $user = new OpenFrame::WebApp::User()->id('fred2003');
The OpenFrame::WebApp::User class implements a very basic user with an identifier, and nothing more. This class exists to be sub-classed to suit your application's needs.
OpenFrame::WebApp::User
This class was meant to be used with OpenFrame::WebApp::User::Factory.
set/get the user id. chosen over 'login' and 'name' as these can have other menaings & actions associated with them.
Read through the source of this package and the known sub-classes first. The minumum you need to do is this:
use base qw( OpenFrame::WebApp::User ); OpenFrame::WebApp::User->types->{my_type} = __PACKAGE__;
You must register your user type if you want to use the User::Factory.
Steve Purkis <spurkis@epn.nu>
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.
OpenFrame::WebApp::User::Factory, OpenFrame::WebApp::Segment::User::Loader
To install OpenFrame::WebApp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame::WebApp
CPAN shell
perl -MCPAN -e shell install OpenFrame::WebApp
For more information on module installation, please visit the detailed CPAN module installation guide.