I guess I should shed more light. I know I would need something in the models to take the field under departmentId and evaluate if it has the chosen separator (for sake of the example, I will say the separator is ',' [*comma*]) and then break that into an array. Then the relations should run through the array and get all the departments that match those IDs. But since I am obviously new to Yii, I do not know if:
A. How or what needs to be edited, OR
B. If there is an easier or better way to do this.
I have thought about making an employeesDepts table that has individual entries of every departmentId for an employeeId, but then again incorporating this is my difficulty.
Any help is greatly appreciated.