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


Rubric documentation  | view source Contained in the Rubric distribution.

Index


NAME

Top

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

VERSION

Top

version 0.147

DESCRIPTION

Top

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

COLUMNS

Top

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

RELATIONSHIPS

Top

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

Top

uri

The uri column inflates to a URI object.

METHODS

Top

stringify_self

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

TODO

Top

AUTHOR

Top

Ricardo SIGNES, <rjbs@cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-rubric@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Top


Rubric documentation  | view source Contained in the Rubric distribution.