provides a generic getter setter for the referenced object eg. $link->link('company_id') returns getLink for the object if nothing is linked (it will return an empty dataObject) $link->link('company_id', array(1)) - just sets the

also array as the field speck supports $link->link(array('company_id', 'company:id'))

Return: true of false on set, the object on getter.

Parameters:

alll link (and join methods accept the 'link' info ) in various ways string : 'field' = which field to get (uses ???.links.ini to work out what) array(2) : 'field', 'table:remote_col' << just like the links.ini def. array(3) : 'field', $dataobject, 'remote_col' (handy for joinAdd to do nested joins.)