so if i have a model Student, which Tests and Homework reference, is there a way using the Model or Table class of Student which returns Tests and Homework? Essentially I want to manually do “on delete cascade” without necessarily knowing the tables Ineed to delete — I was hoping to get these tables from one of Doctrine’s methods.
Share
You can get all the relations of a class with:
See
Doctrine_Relation_AssociationandDoctrine_Relationfor more information.