Pangloss::Segment::LoadUser - load user from an OpenFrame::Request.
$pipe->add_segment( Pangloss::Segment::LoadUser->new )
This class inherits its interface from Pipeline::Segment.
Pipeline::Segment
attempts to load a user from the stored OpenFrame::Request's arguments.
OpenFrame::Request
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.
iso_code
Steve Purkis <spurkis@quiup.com>
Pipeline::Segment, Pangloss::User
To install Pangloss, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pangloss
CPAN shell
perl -MCPAN -e shell install Pangloss
For more information on module installation, please visit the detailed CPAN module installation guide.