[rt-users] Code explanation
mixo
mixo at beth.uniforum.org.za
Mon Aug 27 10:41:28 EDT 2001
The following code is from /lib/RT/Attachment .pm (line 190)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
my $id = $self->SUPER::Create(TransactionId =>
$args{'TransactionId'},
ContentType =>
$Attachment->mime_type,
ContentEncoding =>
$ContentEncoding,
Parent => $args{'Parent'},
Content => $Body,
Headers =>
$Attachment->head->as_string,
Subject => $Subject,
Filename => $Filename,
);
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Could anyone explain to me what the code does?
(especially "SUPER" - what is being inherited and from where, why?)
Mixo
More information about the rt-users
mailing list