문제

I have the model that needed to modify serialized data to array after the form loaded. What is the best way I can use for it? I tried to use _afterLoad() method, but it worked only for collections.

도움이 되었습니까?

해결책

Done. Collections load every time when I'm trying to get an item from DB. So the _afterLoad method in collection best way to modify model data.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top