Liz::TTS::Text - module for Text objects of the TTS
use Liz::TTS; $tts = new Liz::TTS;
$text = $tts->Text; $text = $tts->Text( $ID );
$text->update;
Provide object oriented access to texts in a TTS. Usually not accessed directly, but rather through the Liz::TTS object and its Text method.
Create a new Text object from a TTS object.
1 Liz::TTS object 2 ID to created Text object with (default: none = new text)
1 instantiated object
It is not intended to call this method directly, but rather indirectly through the Liz::TTS module.
$tts = new Liz::TTS; $text = $tts->Text; $text = $tts->Text( $ID );
Update a Text object in the Liz::TTS database.
1 ID with which the object was updated (undef = error)
$ID = $text->update;
Delete the Liz::TTS::Text object from the database.
1 flag: whether action was successful
$text->delete;
The following methods allow you to inspect and/or change certain fields of the Liz::TTS::Text object.
Return the ArticleID of the Liz::TTS::Text object.
1 current ArticleID
$created = $text->ArticleID;
Return the AuthorID of the Liz::TTS::Text object.
1 current ID of the object
$ID = $text->AuthorID;
Return the Created timestamp of the Liz::TTS::Text object.
1 current timestamp value of the Created date
$created = $text->Created;
Return the ID of the Liz::TTS::Text object.
1 current ID of the object
$ID = $text->ID;
Return or set the Name information of the object.
1 new name of the Name (default: no change)
1 current/old name of the Name
$text->Name( 'Chapter 2' ); $name = $text->Name;
Return the PictureID of the Liz::TTS::Text object.
1 current ID of the object
$ID = $text->PictureID;
Return the SortName of the Liz::TTS::Text object.
1 current ID of the object
$ID = $text->SortName;
Return the Updated timestamp of the Liz::TTS::Text object.
1 current timestamp value of the Updated date
$updated = $text->Updated;
Sjoerd Lawende( sjoerd@xxLINK.nl )
(C) 1998-1999 xxLINK Internet Services
Corrected the $FIELDS definition
Now uses 'goto &Liz::Name'-trick to set / get the Name Added documentation for autoloaded methods
First version of this module.