ePortal::ThePersistent::UserConfig - ThePersistent object stored in UserConfig database.
See ePortal::ThePersistent::Support and its base classes for more information. This class stores objects in users session hash.
ePortal::ThePersistent::Support
It can be used to create pseudo persistent objects with use all power of Support.pm
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.
Sergey Rusakov, <rusakov_sa@users.sourceforge.net>
To install ePortal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ePortal
CPAN shell
perl -MCPAN -e shell install ePortal
For more information on module installation, please visit the detailed CPAN module installation guide.