Yii Framework Forum: Generate Form Model - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Generate Form Model Working with Form Rate Topic: -----

#1 User is offline   p30tec 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 57
  • Joined: 03-March 13

Posted 01 May 2013 - 03:28 AM

Hello
How you generate form model that extends CFormModel ?manually ?
I want to generate form skeleton in gii , is there any extension ?
0

#2 User is offline   softark 

  • Keep It Simple
  • Yii
  • Group: Moderators
  • Posts: 2,041
  • Joined: 16-February 11
  • Location:Japan

Posted 01 May 2013 - 09:22 AM

Hi p3otec, welcome to the forum.

Yes, manually.

We want to use CFormModel when the CActiveRecord doesn't satisfy our needs. And what we want for CFormModel may vary case by case. So there's not so many routine works that a tool can do for you in creating a CFormModel.

But once you have created a CFormModel or a CActiveRecord, you can use the form generator of gii to create the skeleton of a form view.
0

#3 User is offline   p30tec 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 57
  • Joined: 03-March 13

Posted 04 May 2013 - 08:39 AM

ok , thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users