++ed by:
ZMUGHAL

1 PAUSE user

Steve Purkis

NAME

Pangloss::Segment::LoadUser - load user from an OpenFrame::Request.

SYNOPSIS

  $pipe->add_segment( Pangloss::Segment::LoadUser->new )

DESCRIPTION

This class inherits its interface from Pipeline::Segment.

METHODS

$user = $obj->dispatch();

attempts to load a user from the stored OpenFrame::Request's arguments.

$user = $obj->new_user_from_args( \%args );

Creates a new user from the hash given. uses the following keys:

 *  new_user_id
 *  new_user_name
 *  new_user_notes
    new_user_admin
    new_user_add_concepts
    new_user_add_categories
    new_user_translate_<iso_code>
    new_user_proofread_<iso_code>

Where iso_code is the iso code of a Pangloss::Language. Returns undef if no useable keys marked with (*) were present.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pipeline::Segment, Pangloss::User