Re: [rt-users] How to make a list of Template Variables ???

2006-11-14 Thread taan

perldoc lib/RT/Ticket.pm
perldoc lib/RT/Ticket_Overlay.pm
perldoc lib/RT/Transaction.pm
perldoc lib/RT/Transaction_Overlay.pm
etc


Scott Golby wrote:

Hi Everyone,

Is there  a way to generate a list of all of the mappings which can be 
used within the Templates & Scrips ?

ie) $Ticket->RequestorAddresses   or   $Transaction->Description

Looks like there is a lot of useful info that can be extracted and
put into an email or as I'm working towards tested so what people
get in an email is conditional.

I suspect I'm looking at this the wrong way, I've had quite a look over 
the Wiki, at the Scrips section, the Customization & Internals & read 
the perldoc lib/RT/Template.pm but don't see an easy way to make a list.


Anyone know a way ?  or Does anyone have a List ?

Also what is the correct term for these Template Variables ?  Object
Mappings ?

Thanks,
Scott

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] How to make a list of Template Variables ???

2006-11-14 Thread Scott Golby
Hi Everyone,

Is there  a way to generate a list of all of the mappings which can be 
used within the Templates & Scrips ?
ie) $Ticket->RequestorAddresses   or   $Transaction->Description

Looks like there is a lot of useful info that can be extracted and
put into an email or as I'm working towards tested so what people
get in an email is conditional.

I suspect I'm looking at this the wrong way, I've had quite a look over 
the Wiki, at the Scrips section, the Customization & Internals & read 
the perldoc lib/RT/Template.pm but don't see an easy way to make a list.

Anyone know a way ?  or Does anyone have a List ?

Also what is the correct term for these Template Variables ?  Object
Mappings ?

Thanks,
Scott


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com