BeforeModelSave: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) m Add warning |
DenisChenu (talk | contribs) Add allowing update |
||
Line 10: | Line 10: | ||
None. | None. | ||
You can update current model before it was saved. | |||
'''Warning''' | '''Warning''' |
Revision as of 11:53, 15 October 2018
When
Before a single database model was saved using model->save(). See CActiveRecord::onBeforeSave.
Input
- model : The current model as an ActiveRecord
Possible output
None.
You can update current model before it was saved.
Warning
Not all LimeSurvey action use ActiveRecord to save a model.