NAME

ePortal::ThePersistent::UserConfig - ThePersistent object stored in UserConfig database.

SYNOPSIS

See ePortal::ThePersistent::Support and its base classes for more information. This class stores objects in users session hash.

It can be used to create pseudo persistent objects with use all power of Support.pm

# The example is equivalent to $ePortal->Config('attr_name')

my $obj = new ePortal::ThePersistent::UserConfig;
$obj->add_attribute(attr_name => {
                   dtype => 'VarChar',
                   maxlength => 64,
                   label => {rus => 'label rus', eng => 'Label eng'});
$obj->restore();
$obj->attr_name('value');
$obj->update();

ID attribute is added internally.

METHODS

AUTHOR

Sergey Rusakov, <rusakov_sa@users.sourceforge.net>