Hello everyone!
I can’t figure out what is CActiveForm->label() differs from CActiveForm->labelEx().
Could someone tell me the differences?
Thanks in advanced!
Hung
Hello everyone!
I can’t figure out what is CActiveForm->label() differs from CActiveForm->labelEx().
Could someone tell me the differences?
Thanks in advanced!
Hung
Hello,
In two words - labelEx adds ‘*’ and special css class right to your label if attribute is required.
From http://www.yiiframework.com/doc/api/1.1/CHtml#activeLabelEx-detail:
Thank you. I got it now.