$welcomeMsg = Phpfox::getComponentSetting('MyComponent', 'welcome_message');
$componentSettings = Phpfox::getComponentSetting('MyComponent');This code will return an array of all the settings for the "MyComponent" component. The Phpfox getComponentSetting method belongs to the Phpfox Core package library.