Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Save the information on custom blocks
#2
all events are global, they get called everytime the event happens.
that means that if you register an aftersave event, your handler will be called on ALL the saves in the application. that is why you normally "protect" your handler with something like:

if (module is my module)....

in this case your condition will check for both conditions:

if (module is the one that has the custom block and I have information to do something with my module)....
Joe
TSolucio
Reply


Messages In This Thread
RE: Save the information on custom blocks - joebordes - 12-03-2016, 12:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)