Re: _deleteHasMany

2007-01-24 Thread Larry E. Masters aka PhpNut
That is a private method and you should not be accessing it directly, and if you read the code closely you will see it is used to reset the associations. The Model::findAll() resets the associations after it is called, what this code is doing is assigning the value to a temporary variable, then on

_deleteHasMany

2007-01-24 Thread Chaso
Why is this method using the __backAssociation array rather than the hasMany array for getting the associated Models to delete? That's annoying, because setting up assiciations on the fly by bindModel in the beforeDelete-callback (because the association is dependant on the db-entry to delete) do