| Next: Yawns::Submissions | Previous: Yawns::Stats | [Table of Contents] |
Yawns::Submission::Notes - A module for leaving notes upon submissions.
#!/usr/bin/perl -w
use Yawns::Submission::Notes;
use strict;
# Create the object.
my $handle = Yawns::Submission::Notes->new();
#
# Add a note to a submissions.
#
$handle->addSubmissionNote( submission => 222,
note => "Foo",
username => "Anonymous" );
#
# Retrieve all notes stored upon the given submission.
#
my $notes = $handle->getSubmissionNotes( 222 );
#
# Delete all notes stored against the specified submission.
#
$handle->deleteSubmissionNotes( 22 );
This module will store an arbitary block of text as submissio notes.
This is useful for when multiple article administrators wish to communicate over the validity or contents of an article in the submission queue.
Create a new instance of this object.
Add a note against the given article in the submission queue.
Retrieve the notes recorded against the given submission.
Delete any stored note against the specified submission.
Clean any cached content we might have.
Steve Kemp
http://www.steve.org.uk/
Copyright (c) 2007 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.