forgot to check this in somehow

This commit is contained in:
JT Smith 2008-07-30 21:17:46 +00:00
parent d972141607
commit 03092ff297
4 changed files with 139 additions and 372 deletions

View file

@ -457,6 +457,24 @@ sub purge {
#-------------------------------------------------------------------
=head2 setEventMetaData
Encodes the metadata for this event into an asset property.
=head3 properties
A hash reference containing all the metadata properties to set.
=cut
sub setEventMetaData {
my $self = shift;
my $properties = shift;
$self->update({eventMetaData => JSON->new->utf8->encode($properties)});
}
#-------------------------------------------------------------------
=head2 view
Displays the ticket description.