Add New Item To Chtml


I work Yii with doctrine 2. I have a problem, datetime in doctrine 2 is an object of DateTime class, and I can’t update it with regular methods of CHtml or form.

How can I add new item in CHtml that can handle this situation.

–Best Regards

Moe Far

hi follow this link…

you will get some help