Esmith::ConfigDB::Record

From SME Server
Revision as of 16:05, 10 December 2013 by Stephdl (talk | contribs) (Created page with "=== NAME === esmith::ConfigDB::Record - record in an esmith::ConfigDB database. === SYNOPSIS === Just like esmith::DB::db::Record except... my $value = $record->v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

NAME

esmith::ConfigDB::Record - record in an esmith::ConfigDB database.

SYNOPSIS

Just like esmith::DB::db::Record except...

          my $value = $record->value;
                      $record->set_value($value);

DESCRIPTION

This provides some extra functionality needed by the esmith::ConfigDB databases.

Unless noted, it works just like esmith::DB::db::Record.

New Methods

  • value
  • set_value
            my $value = $record->value;
                        $record->set_value($value);

Gets/sets the value of the $record. Some ConfigDB entries don’t have a set of properties, but rather a single value. It will warn if you use these on $records with properties.