X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fdocs%2Fdesign_docs%2FTransactionTypes.txt;fp=rt%2Fdocs%2Fdesign_docs%2FTransactionTypes.txt;h=6edc408de0dd5de18664063e65fa4d1bda485ecc;hp=942b72371d8e04a02532354df34f37314d64cd6f;hb=b4b0c7e72d7eaee2fbfc7022022c9698323203dd;hpb=2dfda73eeb3eae2d4f894099754794ef07d060dd diff --git a/rt/docs/design_docs/TransactionTypes.txt b/rt/docs/design_docs/TransactionTypes.txt index 942b72371..6edc408de 100755 --- a/rt/docs/design_docs/TransactionTypes.txt +++ b/rt/docs/design_docs/TransactionTypes.txt @@ -28,8 +28,8 @@ generalized methods for when new transaction types are needed. -$RT::TransactionTypes ...and... -%RT::TransactionTypes +RT->Config->Get('TransactionTypes') ...and... +RT->Config->Get('TransactionTypes') - global object which contains all TransactionTypes - used by all UIs to create menues of possible (user) actions (one TransactionType is a user action) @@ -37,7 +37,7 @@ The UIs should call sth like $Ticket->AddTransaction($TransactionName), which should be equivalent with i.e. $Ticket->Correspond when $TransactionName is 'Correspond' (AUTOLOAD should call the do-sub if exists -$RT::TransactionTypes{$TransactionName}) +RT->Config->Get('TransactionTypes')->{$TransactionName}) The RT::Ticket::AddTransaction will create a new transaction of the right TransactionClass (maybe via a sub