[rt-users] Custom Conditions

Ruslan U. Zakirov cubic at acronis.ru
Fri Mar 5 09:21:33 EST 2004


Andy Harrison wrote:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> On Fri, 05 Mar 2004 16:46:31 +0300, Ruslan U. Zakirov wrote
> Subject: "Re: [rt-users] Custom Conditions"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
>> In custom condition code you can use:
>> 	$self->TicketObj
>> 	$self->TransactionObj
>> 	$self->ScripObj
>>
>> then
>> perldoc /opt/rt3/lib/RT/Ticket.pm
>> perldoc /opt/rt3/lib/RT/Ticket_Overlay.pm
>> perldoc /opt/rt3/lib/RT/Tickets.pm
>> perldoc /opt/rt3/lib/RT/Tickets_Overlay.pm
>> perldoc /opt/rt3/lib/RT/Transaction.pm
>> perldoc /opt/rt3/lib/RT/Transaction_Overlay.pm
>> perldoc /opt/rt3/lib/RT/Transactions.pm
>> perldoc /opt/rt3/lib/RT/Transactions_Overlay.pm
>>
>> Isn't it enought???
>> 		Best regards. Ruslan.
> 
> 
> 
> Not even close.  In templates, for example, where is
> $Ticket->Transactions->First->Content documented?
                      ^^^ this s mean collection(First, Next, Last)
perldoc DBIx::SearchBuilder
Each element in collection is:
perldoc /opt/rt3/lib/RT/Transaction.pm
perldoc /opt/rt3/lib/RT/Transaction_Overlay.pm

Just `vi` RT code will tell you a lot. :)

`UNIVERSAL::can` hide AUTOLOAD functions from you.
		Good luck. Ruslan.
> 
> 




More information about the rt-users mailing list