Reputation: 2147
I am working on pimcore cms. I want to check whether my object is updated or not.
Scenario is I am integrating pimcore cms with other cms where all data comes in pimcore from that another cms. So I am able to get all the data in pimcore as well.
But once I update any object from pimcore I need some flag or something which tell other cms that this object is updated.
So after that other cms will not synchronize that particular object to pimcore
So how to check whether the object is updated or not?
Upvotes: 0
Views: 1347
Reputation: 744
You could use Symfony Events in Pimcore. Whenever you save an object in Pimcore you could send the updated data (fields) to your other cms afertwards.
Upvotes: 0
Reputation: 101
You can add a new check box with a parameter "not visibility" and set the flag to true if field has been updated.
Upvotes: 1