Jump to content

Problema model yii

Recommended Posts


Am si eu o problema cu yii framework,am creat un tabel am generat modelul,am adaugat 4 coloane noi in tabel,dar nu le vad in model,daca apelez $model->coloana zice ca coloana nu e definita.

In model am foarte multe functii custom nu pot sa il regenerez,nici sa folosesc diff.

Cum pot sa adaug manual coloana in model,am adaugat numele coloanei in AttributesLabels() si rules() dar eroarea persista.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...