X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fdocs%2Fdesign_docs%2FTransactionTypes.txt;h=6edc408de0dd5de18664063e65fa4d1bda485ecc;hb=b6dbe0f12dbbe4ea5209367f905f937789b5b607;hp=942b72371d8e04a02532354df34f37314d64cd6f;hpb=c0567c688084e89fcd11bf82348b6c418f1254ac;p=freeside.git 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