NAME
MT::Tag - Movable Type tag record
SYNOPSIS
use MT::Tag;
my $tag = MT::Tag->new;
$tag->name('favorite');
$tag->save
or die $tag->errstr;
DESCRIPTION
USAGE
DATA ACCESS METHODS
The MT::Tag object holds the following pieces of data. These fields can be accessed and set using the standard data access methods described in the MT::Object documentation.
- id
- name
- n8d_id
The numeric ID of the tag.
The name of the tag.
The ID of a "normalized" version of this tag. If undef or 0, it would signifiy this tag is a normalized tag name.
DATA LOOKUP
In addition to numeric ID lookup, you can look up or sort records by any combination of the following fields. See the load documentation in MT::Object for more information.
- name
NOTES
- When you remove a tag using MT::Tag::remove, in addition to removing the tag record, all of the related MT::ObjectTag records are removed as well.
AUTHOR & COPYRIGHTS
Please see the MT manpage for author, copyright, and license information.
