Liz::URLSet::URL - module for URL objects of the URLSet
use Liz::URLSet; $urlset = new Liz::URLSet;
$url = $urlset->URL; $url = $urlset->URL( $urlID );
$url->update;
Provide object oriented access to urls in a URLSet. Usually not accessed directly, but rather through the Liz::URLSet object and its URL method.
Create a new URL object from a URLSet object.
1 Liz::URLSet object 2 ID to created URL object with (default: none = new url)
1 instantiated object
It is not intended to call this method directly, but rather indirectly through the Liz::URLSet module.
$urlset = new Liz::URLSet; $url = $urlset->URL; $url = $urlset->URL( $urlID );
Update a URL object in the Liz::URLSet database.
1 ID with which the object was updated (undef = error)
$urlID = $url->update;
Delete a Liz::URLSet::URL object from the database.
1 flag: whether action was successful
$url->delete;
The following methods allow you to inspect and/or change certain fields of the Liz::URLSet::URL object.
Return or set the Alt (alternate text) information of the Liz::URLSet::URL object.
1 new name value of the Alt (default: no change)
1 current/old name value of the Alt
$url->Alt( $alt ); $alt = $url->Alt;
Return or set the Anchor (reference to an internal link in the document) information of the Liz::URLSet::URL object.
1 new name value of the Anchor (default: no change)
1 current/old name value of the Anchor
$url->Anchor( $anchor ); $anchor = $url->Anchor;
Return the Created timestamp of the Liz::URLSet::URL object.
1 current timestamp value of the Created date
$created = $url->Created;
Return the ID of the Liz::URLSet::URL object.
1 current ID of the object
$ID = $url->ID;
Return or set the LastChecked timestamp of the Liz::URLSet::URL object.
1 new timestamp value of the LastChecked date (default: no change)
1 current/old timestamp value of the LastChecked date
$url->LastChecked( $lastchecked ); $lastchecked = $url->LastChecked;
Return or set the Options information of the Liz::URLSet::URL object.
1 new name value of the Options (default: no change)
1 current/old name value of the Options
$url->Options( $options ); $options = $url->Options;
Return or set the Parameters (CGI-parameters to be passed) information of the Liz::URLSet::URL object.
1 new name value of the Parameters (default: no change)
1 current/old name value of the Parameters
$url->Parameters( $parameters ); $parameters = $url->Parameters;
Return or set the Published timestamp of the Liz::URLSet::URL object.
1 new timestamp value of the Published date (default: no change)
1 current/old timestamp value of the Published date
$url->Published( $published ); $published = $url->Published;
Return or set the Server information of the Liz::URLSet::URL object.
1 new name value of the Server (default: no change)
1 current/old name value of the Server
$url->Server( $server ); $server = $url->Server;
Return or set the Status information of the Liz::URLSet::URL object.
1 new value of the Status (default: no change)
1 current/old value of the Status
$url->Status( $status ); $status = $url->Status;
Return or set the Title (mnemonic) information of the Liz::URLSet::URL object.
1 new name value of the Title (default: no change)
1 current/old name value of the Title
$url->Title( $title ); $title = $url->Title;
Return the Updated timestamp of the Liz::URLSet::URL object.
1 current timestamp value of the Updated date
$updated = $url->Updated;
Return or set the URI (reference to a file on the server's filesystem) information of the Liz::URLSet::URL object. It is usually easier to use the URL method to set the complete URL info of the object.
1 new name value of the URI (default: no change)
1 current/old name value of the URI
$url->URI( $uri ); $uri = $url->URI;
Return or set the complete URL (protocol://server:port/uri#anchor?parameters) information of the Liz::URLSet::URL object. When a new value is specified, it sets the fields Server, URI, Anchor and Parameters fields.
1 new name value of the URL (default: no change)
1 current/old name value of the URL
$url->URI( $link ); $link = $url->URL;
Elizabeth Mattijsen ( lizperl@INC.nl )
(C) 1998-1999 International Network Consultants
Now inherits from Liz::URLSet rather than from Liz::SQL.
Now no longer puts Exporter in ISA: it was not needed.
Added support for extra fields to methods new and update.
Changed to new source typography.
First version of this true Perl module.