Events “beforeLinkSave” and “afterLinkSave”

早过忘川 提交于 2021-01-27 13:32:12

问题


I'm trying to understand how works the validation events in Sprind data REST. I understand that the event "beforeSave" runs just before I save a new information in the data source. I understand that the event "afterSave" is called at the end of storeing a new data. However, I don't understand when the events "beforeLinkSave" and "afterLinkSave" are run.

Does someone know the answer?


回答1:


I have learned. The event "beforeLinkSave" is run before a new link is saved in an one to many or many to many relationship. "afterLinkSave" is similar. It is run after a new link is saved



来源:https://stackoverflow.com/questions/19174050/events-beforelinksave-and-afterlinksave

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!