S
S
Stepan2015-02-03 16:07:43
Yii
Stepan, 2015-02-03 16:07:43

Why does the error occur:: formName() and how to save it in the database if you need to expand the Model?

Posts::formName()
Why does ::formName() fail. If I expand Model then of course there is no error. But then ActiveRecord does not work.
What should I do? How to make both work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Semenko, 2015-02-03
@abler98

In this case, you need to use tableName()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question