Liz::MiniSum::Record - module for Record objects of the MiniSum
use Liz::MiniSum; $minisum = new Liz::MiniSum;
$record = $minisum->Record; $record = $minisum->Record( $ID );
$record->update;
Provide object oriented access to records in a MiniSum. Usually not accessed directly, but rather through the Liz::MiniSum object and its Record method.
Create a new Record object from a MiniSum object.
1 Liz::MiniSum object 2 ID to created Record object with (default: none = new record)
1 instantiated object
It is not intended to call this method directly, but rather indirectly through the Liz::MiniSum module.
$minisum = new Liz::MiniSum; $record = $minisum->Record; $record = $minisum->Record( $ID );
Update a Record object in the Liz::MiniSum database.
1 ID with which the object was updated (undef = error)
$ID = $record->update;
Delete the Liz::MiniSum::Record object from the database.
1 flag: whether action was successful
$record->delete;
The following methods allow you to inspect and/or change certain fields of the Liz::MiniSum::Record object.
Return the Created timestamp of the Liz::MiniSum::Record object.
1 current timestamp value of the Created date
$created = $record->Created;
Return or set the Client of the Liz::MiniSum::Record object.
1 new Client (default: no change)
1 current/old Client
$record->Client( $client ); $client = $record->Client;
Return or set the Contact of the Liz::MiniSum::Record object.
1 new Contact (default: no change)
1 current/old Contact
$record->Contact( $contact ); $contact = $record->Contact;
Return or set the Done of the Liz::MiniSum::Record object.
1 new Done (default: no change)
1 current/old Done
$record->Done( $done ); $done = $record->Done;
Return or set the DoneBy of the Liz::MiniSum::Record object.
1 new DoneBy (default: no change)
1 current/old DoneBy
$record->DoneBy( $doneby ); $doneby = $record->DoneBy;
Return or set the DoneOn timestamp of the Liz::MiniSum::Record object.
1 new timestamp of the DoneOn date (default: no change)
1 current/old timestamp value of the DoneOn date
$record->DoneOn( $doneon ); $doneon = $record->DoneOn;
Return the ID of the Liz::MiniSum::Record object.
1 current ID of the object
$ID = $record->ID;
Return or set the Invoice of the Liz::MiniSum::Record object.
1 new Invoice (default: no change)
1 current/old Invoice
$record->Invoice( $invoice ); $invoice = $record->Invoice;
Return or set the Minutes of the Liz::MiniSum::Record object.
1 new Minutes (default: no change)
1 current/old Minutes
$record->Minutes( $minutes ); $minutes = $record->Minutes;
Return or set the Project of the Liz::MiniSum::Record object.
1 new Project (default: no change)
1 current/old Project
$record->Project( $project ); $project = $record->Project;
Return or set the Status of the Liz::MiniSum::Record object.
1 new Status (default: no change)
1 current/old Status
$record->Status( $status ); $status = $record->Status;
Return or set the SubProject of the Liz::MiniSum::Record object.
1 new SubProject (default: no change)
1 current/old SubProject
$record->SubProject( $subproject ); $subproject = $record->SubProject;
Return the Updated timestamp of the Liz::MiniSum::Record object.
1 current timestamp value of the Updated date
$updated = $record->Updated;
Elizabeth Mattijsen ( lizperl@INC.nl )
(C) 1998-1999 International Network Consultants
Fixed problem in method update that would not update the Status field.
Fixed problem in method new that would not load the fields SubProject and Invoice.
Fixed problem in method update which would cause method new to skip the invoice field on subsequent fetches.
First version of this true Perl module.