Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2109

Joomla! 4.x Coding • Re: Chyba 500 Jhtml in Joomla4.X

$
0
0
This should still be working in J5. You could file a bug report but don't hold your breath. The way going forward is to register the class with the service registry:

Code:

use Joomla\CMS\HTML\HTMLHelper;HTMLHelper::getServiceRegistry()->register('jidelnilistek', new YourServiceClass);
If the class is static, you can register it by name:

Code:

HTMLHelper::getServiceRegistry()->register('jidelnilistek', YourServiceClass::class);

Statistics: Posted by SharkyKZ — Thu Apr 18, 2024 1:48 pm



Viewing all articles
Browse latest Browse all 2109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>