NAME

Gantry::Plugins::Uaf::User - A module that defines a basic user object.

SYNOPSIS

    use Gantry::Plugins::Uaf::User;
    
    my $username = 'joe blow';
    my $user = Gantry::Plugins::Uaf::User->new($username);
    $user->attribute('birthday', '01-Jan-2008');

DESCRIPTION

Gantry::Plugins::Uaf::User is a base module that can be used to create an user object. The object is extremely flexiable and is not tied to any one data source.

METHODS

new

This method initializes the user object. It takes one parameter, the username.

Example:

    my $username = 'joeblow';
    my $user = Gantry::Plugins::Uaf::User->new($username);

MUTATORS

attribute

Set/Returns a user object attribute.

Example:

    $birthday = $user->attribute('birthday');
    $user->attribute('birthday', $birthday);

SEE ALSO

Gantry::Plugins::Uaf

AUTHOR

Kevin L. Esteb

COPYRIGHT AND LICENSE

Copyright (C) 2008 Kevin L. Esteb

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.