October 2008
Intermediate to advanced
352 pages
10h 30m
English
Write
unit tests for the orer_payment_xor constraint. Ensure that
the data layer prohibits any order with zero or multiple payments
but accepts orders with a single payment.
Following the example laid out in this chapter, extend the MTI
plugin with a has_many MTI
association method.
What other methods are needed to create a complete MTI plugin? How would you implement them?
Read now
Unlock full access