it is about manyToMany.

some students have one teacher, some teachers have one student.

I have 3 forms:studens,studens*teachers and teachers,like robot,robot*parts,parts.
If i want find the only one teacher of 3 students called jack,bob,and michael ,and their ID in studens_teachers are 1,2 and 3.Can i do this? :

$theOnlyOneTeacherID=getStudents*teacher(array('students*id'=>array(1,2,3)));

if not,how ?