The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mango::Tag - Module representing a [folksonomy] tag

SYNOPSIS

    my $tags = $product->tags;
    
    while (my $tag = %tags->next) {
        print $tag->name;
    };

DESCRIPTION

Mango::Tag represents a tag assigned to products.

METHODS

count

Returns the number of instances this tag.

This is not currently implemented and always returns 0.

created

Returns the date and time in UTC the tag was created as a DateTime object.

    print $user->created;

destroy

This is not currently implemented.

id

Returns the id of the current tag.

    print $tag->id;

name

Arguments: $name

Gets/sets the name of the current tag.

    print $tag->name;

updated

Returns the date and time in UTC the tag was last updated as a DateTime object.

    print $user->updated;

SEE ALSO

Mango::Object, Mango::Product

AUTHOR

    Christopher H. Laco
    CPAN ID: CLACO
    claco@chrislaco.com
    http://today.icantfocus.com/blog/