View more context

 

dorsetdigital

It's all very straightforward, there are classes and methods for most things you'll need to do

Aaron Cooper

Sweet @dorsetdigital yeah it looks fine. Not making much out of the explained difference between a public and private app. Which would you use for simply "Process happens on site, contact Xero to create Invoice (and Contact if needed)"?

dorsetdigital

Let me see if I can lay my hands on some sample code...

dorsetdigital

https://gist.github.com/DorsetDigital/dd7ddc7433592496fe5f365db7dace2d

That's a fairly simple helper class. Allows the addition of a customer, invoice and invoice data... obviously there are references to other code in there, so it's not a "working" class... but the concepts are about right

clodeindustrie

Hi, how can I extend my DataObjects to have a custom Object:get()->find_in_set('needle', 'haystack') kind of method? just an extension on DataObject or a subset of classes?

theruss

Doesn't DataObject::get()->filter() do what you need?