Friday, 15 January 2010

php - which value I have to pass to a variable $model in yii booster TbActiveForm -


I tried to use the yii booster widget to create a form with TBactive form.

I saw some examples related to TbActiveForm as a text field,

TextFieldRow ($ model, 'textField', array ('class' => 'input-small')); ? & Gt;

But I'm worried about variables $ Models Anyone can help me with this.

I am working with the yii booster and yii framework for the first time please help me on this.

It passes to see the object that holds properties to hold your data

The model class will show as

  class urmodeln name seferomodel {public $ textfile; .. ..}   

Check your controller You will get this code

  $ model = new UrmodelName (); $ This- & gt;    



No comments:

Post a Comment