Hallo,
I think I've 'managed' this now. ;)
Digging this mailing list again (and again...), I've found the hint to place a
function in the ::Manager that does what I need. So, I added a function to the
::Manager of my 'central table' that loads all the data from all related tables.
This way, I can
John Siracusa <[EMAIL PROTECTED]> writes:
> Is NICADDRESS the primary key of whatever class/table the CMP_NETWORK
> relationship points to?
Hello John.
Thank you very much for your help. :)
No. The primary key is named NETWORKID.
I have found that the problem is using $row->...->load() and the
Hello again,
I have now added a foreach() construct that iterates over the data, setting the
changes in the related object using the Manager. Now, using
$row->save(cascade=>1) works as expected.
The problem is, this only works for one sublevel, or I must implement a
recursive function. I'm pretty
John Siracusa <[EMAIL PROTECTED]> writes:
> The primary key generator will only be called when attempting to
> insert() an object that has an undef value in one or more of its
> primary key columns.
Hello John,
thank you for your response. :)
I load() the row of the "basic table" using 'with'