Jump to content

Recommended Posts

Posted

the events has helped as a lot to add some fucntion to blesta .

today i was thinking if some events (that already exist) can be called before the actiona dna after the action .

like Clients.create , Invoices.add , Users.login , Services.add ..ect

the new triggers will call the event "Clients.create.pre" before the cleant will be added to database , and "Clients.create.post" after the client was added to database .

also it will be top if the event can set errors and send it to the controllers view .

this is not priority , but is open to discussion .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...