NAME
Mango::Tag - A tag assigned to products
SYNOPSIS
my $tags = $product->tags;
while (my $tag = %tags->next) {
print $tag->name;
};
DESCRIPTION
Mango::Tag represents a tag assigned to products.
METHODS
id
Returns id of the current tag.
print $tag->id;
created
Returns the date the tag was created as a DateTime object.
print $tag->created;
updated
Returns the date the tag was last updated as a DateTime object.
print $tag->updated;
count
Returns the number of instances this tag.
This is not currently implemented.
name
Gets/sets the name of the tag itself.
print $tag->name;
SEE ALSO
AUTHOR
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/