The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Perlbug::Object::User - User class

DESCRIPTION

Perlbug user class.

For inherited methods, see Perlbug::Object

SYNOPSIS

        use Perlbug::Object::User;

        print Perlbug::Object::User->read('richardf')->format('a');

METHODS

new

Create new User object:

        my $o_usr = Perlbug::Object::User->new();
updatable

Check if current user object/s is/are allowed to be updated

Returns the updatable ids.

    print 'updatable: '.join(', ', $o_obj->updatable(\@userids));
create

Check if name is unique

    my $o_usr = $o_usr->create(\%data);
new_id

return given userid for user

htmlify

html formatter for individual user entries for placement

    my $h_usr = $o_usr->htmlify($h_usr);
update

Ensure the password is encrypted

        $o_usr->update(\%data);
webupdate

Update user data via web interface, accepts relations via param('_opts')

        $oid = $o_usr->webupdate(\%cgidata, $oid);

AUTHOR

Richard Foley perlbug@rfi.net 2000 2001

1 POD Error

The following errors were encountered while parsing the POD:

Around line 252:

=pod directives shouldn't be over one line long! Ignoring all 12 lines of content