How to override a class?

Last modification: 2013-10-30 06:08:10

Live Helper Chat allows to override default system classes. To override the class workflow should be the following

  1. Create an extension, see extension example there
  2. Copy your desirable class from kernel to extension class folder
  3. Define class path in var/autoloads/lhextension_autoload.php
    1. 'class_name' => 'extension/..../myclass.php'
  4. And you are ready to go

Have fun

Support project

Developing application takes a lot of time. You can support application by donating. There is no company behind this application and it takes away my free time. Every donation matters and does not matter how small it is!

Paypal, one time donation
Monthly donation

comments powered by Disqus