Ricardo SIGNES > Rubric-0.154 > Rubric::EntryTag

Download:
Rubric-0.154.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.154   Source   Latest Release: Rubric-0.155

NAME ^

Rubric::EntryTag - a tag on an entry

VERSION ^

version 0.154

DESCRIPTION ^

This class provides an interface to tags on Rubric entries. It inherits from Rubric::DBI, which is a Class::DBI class.

COLUMNS ^

 id        - a unique identifier
 entry     - the tagged entry
 tag       - the tag itself
 tag_value - the value of the tag (for tags in "tag:value" form)

RELATIONSHIPS ^

entry

The entry attribute returns a Rubric::Entry.

TRIGGERS ^

METHODS ^

related_tags(\@tags)

This method returns a reference to an array of tags related to all the given tags. Tags are related if they occur together on entries.

related_tags_counted(\@tags)

This is the obvious conjunction of related_tags and tags_counted. It returns an arrayref of arrayrefs, each a pair of tag/occurance values.

stringify_self

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.

syntax highlighting: