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

FORMATS

Formatters for all occasions...

FORMAT_l

Lean (list) ascii format for users

my ($top, $format, @args) = $o_usr->FORMAT_l(\%data);
FORMAT_a

ascii format for users

my ($top, $format, @args) = $o_usr->FORMAT_a(\%data);
FORMAT_A

ASCII format for users

my ($top, $format, @args) = $o_usr->FORMAT_A(\%data);
FORMAT_L

Lean html format for users:

my ($top, $format, @args) = $o_usr->FORMAT_L(\%data);
FORMAT_h

html format for users:

my ($top, $format, @args) = $o_usr->FORMAT_h(\%data);
FORMAT_H

HTML format for users:

my ($top, $format, @args) = $o_usr->FORMAT_H(\%data);

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 253:

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

Around line 283:

=back without =over

Around line 289:

=over without closing =back