Am I doing something wrong?
If I call CActiveForm->labelEx, which ultimately calls CHtml::resolveName, and $model refers to an array of objects (because it's a HAS_MANY relation), then of course get_class fails. What should I be doing in this case?
If I call CActiveForm->labelEx, which ultimately calls CHtml::resolveName, and $model refers to an array of objects (because it's a HAS_MANY relation), then of course get_class fails. What should I be doing in this case?