NAME
OpenFrame::WebApp::User::Factory - a factory for creating users
SYNOPSIS
use OpenFrame::WebApp::User::Factory;
my $ufactory = new OpenFrame::WebApp::User::Factory()->type('webapp');
my $user = $ufactory->new_user( @args );
DESCRIPTION
The OpenFrame::WebApp::User::Factory
class should be used to create user objects as needed.
This class inherits its interface from OpenFrame::WebApp::Factory
. It uses OpenFrame::WebApp::User-
types()> to resolve class names.
ADDITIONAL METHODS
- $new_user = $obj->new_user( ... )
-
creates a new user of the appropriate type. passes all arguments on to the users constructor.
AUTHOR
Steve Purkis <spurkis@epn.nu>
COPYRIGHT
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.