Bric::Util::Alerted::Parts::Sent - Interface to objects describing how and when alerts were sent.
$LastChangedRevision$
$LastChangedDate: 2006-01-23 12:20:13 -0800 (Mon, 23 Jan 2006) $
use Bric::Util::Alerted::Parts::Sent;
my $sent = Bric::Util::Alerted::Parts::Sent->new($init);
print "Method: ", $meth->get_type, "\n";
print "Contact: ", $meth->get_value, "\n";
print "Time: ", $meth->get_sent_time("%D %T"), "\n\n";
Used internally by Bric::Util::Alerted. Do not use.
Creates a new Bric::Util::Alerted::Parts::Sent object. Pass in the following keys as arguments:
type
value
sent_time
Throws:
Incorrect number of args to Bric::_set().
Bric::set() - Problems setting fields.
Side Effects: NONE.
Notes: NONE.
Dummy method to prevent wasting time trying to AUTOLOAD DESTROY.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
NONE.
Returns the Contact type string identifying how the alert was sent.
Throws:
Bad AUTOLOAD method format.
Cannot AUTOLOAD private methods.
Access denied: READ access for field 'type' required.
No AUTOLOAD method.
Side Effects: NONE.
Notes: NONE.
Returns the value of the contact (the address, number, or ID) to which the alert was sent.
Throws:
Bad AUTOLOAD method format.
Cannot AUTOLOAD private methods.
Access denied: READ access for field 'value' required.
No AUTOLOAD method.
Side Effects: NONE.
Notes: NONE.
Returns the time at which the alert was sent to this contact value. Pass in a strftime format string to get the time back in that format. If no format is passed, it will default to ISO 8601 format.
Throws:
Bric::_get() - Problems retrieving fields.
Unable to unpack date.
Unable to format date.
Side Effects: NONE.
Notes: NONE.
NONE.
NONE.
NONE.
NONE.
David Wheeler <david@justatheory.com>