Hi all,
after some headhakes i've finally findout how Phalcon names the whole objects referenced by relations: (From PHQL doc). "Scalars are mapped as properties of each “row”, while complete objects are mapped as properties with the name of its related model."
This works well until you have just a relation between two models, but how can i get access to multiple relations objects?
If table A has 2 or more columns with FK to the same table/model, how can i set/get the two ojbects if they share the same model name? Is there a way to setup a relation name during initialize to obtain the relative obj?
Thanks for your help! Gianks