dynamically generate object setters/getters/loaders via __call

Registered by Marcus Baker

I'm only familiar with this functionality coming from other orms such as Class::DBI and DBIx::Class, but in attempting to setup one-to-one/one-to-many relationships it might be helpful to cut down on the repetitive code generated by just checking for calls to loadX(), setX(Y), getX() in the __call() magic method, and passing them on to singular loadObject(X), setObject(X,Y) and getObject(X) functions. I'm not sure how efficient this is in PHP but I've overridden the CoughObject myself already to get this functionality going if you'd like to take a look at the code I'm using.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.