[rt-users] Requestors RealName ?

Smylers smylers at gbdirect.co.uk
Tue Oct 29 11:40:17 EST 2002


Len Kranendonk wrote:

> Maybe a newbee question, but does anybody know which variable contains
> the Requestors RealName ?
>
> {$Ticket->Requestors->EmailsAsString()}  gives the email address

Note the plural in the above, giving potentially _many_ e-mail addresses
in a single string.  That's because a ticket can have more than one
requestor (though only one owner, which is why OwnerObj had the method
you found).

Since it doesn't really make sense to have a string containing many
names, there isn't a function to do this; you have to grab the name of
each requestor individually.

To see how this works, have a look at the nice diagram that Bruce drew.
Go to the list archive:

  http://lists.fsck.com/cgi-bin/htsearch

and search for "human female"; currently it's the only mail on the list
containing that term.  (Though of course once I've sent this mail, that
-- plus any follow-ups -- will also be in the archive containing that
string.)

Smylers
-- 
GBdirect
http://www.gbdirect.co.uk/




More information about the rt-users mailing list