gleez/cms

How can I override gleez class?

Adam-Rollo opened this issue · 2 comments

Several month ago, overriding class(such as URL) is easy.
Creating a class named URL that extend kohana_URL is ok.
How can I override class now? copy entire URL class and put it in my new modules??

Yes, now in Gleez 1.x this is best way. But you can commit your changes! Your changes may be in core classes in order to use them in the future.

Currently Gleez positioned as a CMS (like WordPress). You can just pick up and use it. Almost without programming. If you need an exotic functional - you write module. In the future, this situation will be simple. Gleez 2.x will be provide namespaces and some useful way for overriding core classes.

Thank you for using Gleez

namespace plus autoloading is amazing. thx~