| Perlbug documentation | view source | Contained in the Perlbug distribution. |
Perlbug::Object::User - User class
Perlbug user class.
For inherited methods, see Perlbug::Object
use Perlbug::Object::User;
print Perlbug::Object::User->read('richardf')->format('a');
Create new User object:
my $o_usr = Perlbug::Object::User->new();
Check if current user object/s is/are allowed to be updated
Returns the updatable ids.
print 'updatable: '.join(', ', $o_obj->updatable(\@userids));
Check if name is unique
my $o_usr = $o_usr->create(\%data);
return given userid for user
html formatter for individual user entries for placement
my $h_usr = $o_usr->htmlify($h_usr);
Ensure the password is encrypted
$o_usr->update(\%data);
Update user data via web interface, accepts relations via param('_opts')
$oid = $o_usr->webupdate(\%cgidata, $oid);
Richard Foley perlbug@rfi.net 2000 2001
| Perlbug documentation | view source | Contained in the Perlbug distribution. |