The TYPO3 Wiki explains only how to register a XCLASS using namespace support in TYPO3 6.x
But if you want to extend an older TYPO3 extensions which doesn't use namespaces, you need to circumvent some cliffs.
-
ext_localconf.php
Instead of specifying the namespace you only need to indicate the class name of the class you want to XCLASS.
-
ext_autoload.php
Since we don't stick to the TYPO3 convention we need to add the ext_autoload.php to tell TYPO3 where to look for the new class.
-
class.ux_tx_solr_contentobject_relation.php
Here goes your XCLASS code as usual.