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 .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...