Close

Themehits

Download Event/Hook class Nulled

 


Change log

  1. [November 1 2014] 3.0.0 – New major release, improvements and a new namespace feature.
  2. [March 16 2014] v2.0.0 – A Few bugfixes, cleaned up example files and the static class is now a facade.
  3. [June 26 2013]: (bugfix) There was a bug in the class(es) where it always tried to return a value from event::trigger even when there were no parameters.
  4. [June 24 2013]: I uploaded the wrong zip file. Fixed now.

Features

  • Use static class or instantiate multiple event objects or simply use the trait to add event handling for your other classes (I have examples for all of them below!)
  • Listen & Trigger events
  • Temporarily suppress and unsuppress events if needed
  • Programmatically clear listeners on specific events
  • Have multiple listeners on the same event, ordered by a custom priority from 0-100
  • Trigger events and pass any number of parameters/arguments to the listeners (modifications are “gathered” through all the listeners) and the final parameters are returned, modified or not.

Why use an event/hook class? and how does it work?

The use of event-driven programming allows you to modularize your core code or allow parts of the system to alter the behavior of other parts.

If you have ever used a CMS like WordPress or Drupal, you have used a CMS with a event/hook system.
In the drupal community there is a saying that goes “Never hack core!” and for a good reason because whenever you update your drupal installation from say 7.0 to 7.1, if any of the files you have changed is updated—You lose your changes!

Here the event (or hook) system solves that problem.

The tutorial that was here is no longer relevant due to significant change in version 3.0. There is a tutorial-like example file in the download which should be easy enough to read and learn from. If you have problems or don’t understand, I will write a tutorial for it.

[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]

Demo = Event/Hook class
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/eventhook-class/5030612″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]

Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy Event/Hook class from the The Developer ( gentlefoxmedia ) website. Thank you.
Download = Event/Hook class-[Updated].zip



Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.