Sergey Rusakov > ePortal-4.5 > ePortal::ThePersistent::UserConfig

Download:
ePortal-4.5.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 4.5   Source  

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>

syntax highlighting: