M
M
McMike2019-02-13 12:08:59
Yii
McMike, 2019-02-13 12:08:59

How to save the model to a file?

Tell me, is there a way to easily upload an object of a certain model to a file, so that then it can be just as easy to read it from there? The file should be human-readable so that you can manually edit some fields.
The model loads a row from the database table, the cells contain different data, including json.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Izmailov, 2019-02-13
@McMike

serialize

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question