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

Download:
ePortal-4.5.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

ePortal::ThePersistent::ApplicationConfig - 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::ApplicationConfig;
 $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: