NAME

Rubric::Link - a link (URI) against which entries have been made

VERSION

version 0.151

DESCRIPTION

This class provides an interface to links in the Rubric. It inherits from Rubric::DBI, which is a Class::DBI class.

COLUMNS

id    - a unique identifier
uri   - the link itself
md5   - the hex md5sum of the link's URI (set automatically)

RELATIONSHIPS

entries

Every link has_many Rubric::Entries, available with the normal methods, including entries.

entry_count

This method returns the number of entries that refer to this link.

tags_counted

This returns an arrayref of arrayrefs, each containing a tag name and the number of entries for this link tagged with that tag. The pairs are sorted in colation order by tag name.

INFLATIONS

uri

The uri column inflates to a URI object.

METHODS

stringify_self

This method returns the link's URI as a string, and is teh default stringification for Rubric::Link objects.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.