Hi!
I'm trying to write some error handling code and I need to know what getObject will return if it doesn't find the requested resource. Does it just return false?
Thanks!
No, getObject() returns null on failure. getCollection() returns an empty array on failure.
What about $resource->save(); ?
save() returns true/false in all the cases I'm aware of.