Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Chtml::resolvename

$
0
0
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?

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>