I would like to know in Joomla framework, there is a way to change priority loading some Joomla core classes after using
JLoader::register() method in a system plugin developed to override Joomla core classes? or We have to override whole core classes to run this process. of course I saw many suggestions in this and this post but they're very messy and confusing.
For this reason, I followed this sample code to override. I just wanted to override JFilterInput class in
filter folder on Joomla libraries path. But this class imported in other core class, so Joomla doesn't load or register(I don't know) my custom
JFilterInput(input.php). I added some track lines and it shows, to load original JFilterInput class not my custom class in below file on line
91 with mentioned code:
Line 91: $this->filter = JFilterInput::getInstance();
Is there a way to change this ordering for registering Joomla Core and Custom classes?
I use last version of Joomla.