Gantry::Plugins::Uaf::User - A module that defines a basic user object.
use Gantry::Plugins::Uaf::User; my $username = 'joe blow'; my $user = Gantry::Plugins::Uaf::User->new($username); $user->attribute('birthday', '01-Jan-2008');
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.
This method initializes the user object. It takes one parameter, the username.
Example:
my $username = 'joeblow'; my $user = Gantry::Plugins::Uaf::User->new($username);
Set/Returns a user object attribute.
$birthday = $user->attribute('birthday'); $user->attribute('birthday', $birthday);
Gantry::Plugins::Uaf
Kevin L. Esteb
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.
To install Gantry::Plugins::Uaf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gantry::Plugins::Uaf
CPAN shell
perl -MCPAN -e shell install Gantry::Plugins::Uaf
For more information on module installation, please visit the detailed CPAN module installation guide.