[rt-users] ticket/transaction object model

Rick Russell rickr at rice.edu
Fri Jul 14 11:25:30 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



> Now I?ve hit a problem, I want to display a property that I haven?t seen
> anywhere else (the name of the person who sent the replay on the
> ticket). Is there anywhere that will tell me the objects/properties of

Assuming that the reply is the current transaction,

For the full name:

$Transaction->CreatorObj->RealName

For the e-mail:

$Transaction->CreatorObj->EmailAddress

Now if the reply you're referring to is NOT the current transaction
(i.e., you're triggering on something other than a Correspond
transaction), then it gets complicated and you have to loop through the
$Ticket->Transactions object to find the most recent Correspond on the
ticket. I can post some code if you want.

Rick R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEt7dqXIxWysfLtmkRAjdXAJ42go4YdILjiSWWxxxNRW2q68ITaQCeNtEe
jNsYTOOcDh/cjjDsPtxkVVQ=
=ezMM
-----END PGP SIGNATURE-----



More information about the rt-users mailing list