Now I want other classes that extend XenForo_BbCode_Formatter_Base to inherit my custom getTags() method. Is that even possible?
Here is why: Take the XenForo_BbCode_Formatter_BbCode_AutoLink class for example. It extends the XenForo_BbCode_Formatter_Base and refers to it in its constructor to get the list of BB Codes. Unfortunately, that list won't include my custom BB Codes since the call goes directly to XenForo_BbCode_Formatter_Base and skips my class.
I am still learning about the concepts and possibilities of class hierarchies, so I guess my question is, can I somehow control that calls from extended classes to their parents will first go to my class which is an extended class of the parents? Or would I have to go through the pain and extend all methods from the classes that extend XenForo_BbCode_Formatter_Base and that should be aware of my custom BB Codes?