Hoffi
Well-known member
Hi Everybody,
maybe I have a knot in my brain.
I want to extend the XML Creation process for the AddOns, to implement some new Settings I habe added for my own purpose.
So, I extend the Class XenForo_Model_AddOn.
Then, I add this few Lines:
But, teh responde from the parent function delivers NULL.
Has anyone the idea, why? I epected the created XML DOM Element, ao that I can modify this at this place.
maybe I have a knot in my brain.
I want to extend the XML Creation process for the AddOns, to implement some new Settings I habe added for my own purpose.
So, I extend the Class XenForo_Model_AddOn.
Then, I add this few Lines:
PHP:
public function getAddOnXml(array $addOn)
{
$rootNode = parent::getAddOnXml($addOn);
return $rootNode;
}
But, teh responde from the parent function delivers NULL.
Has anyone the idea, why? I epected the created XML DOM Element, ao that I can modify this at this place.