G
G
Gorelov2018-09-07 07:52:30
Yii
Gorelov, 2018-09-07 07:52:30

What are scripts and how to use them?

Hi everyone, please tell us more about scripting in Yii. According to the documentation, I only understood that they are used in rules, thereby setting the display of fields.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lander, 2018-09-07
@Askme23

A scenario is, if y is forgiven, then a set of fields and their rules that are allowed to change. For example, in a CREATE script, you can change all fields. And if the record is being updated (the UPDATE script), then only the timestamp can be changed (for example).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question