Using php-component

From SmartCommunity

Jump to: navigation, search

Put php-component working copy into your project’s root and include into one of your your project’s files. So you’ll be able to create an instance of BSMComponent class which represents the component and define some of it’s settings. Here is an example of how to make it.

$component = new BSMComponent('', 12345, '', 'component_password');
$component->setSoftwareVersion('My Component', '0.1');
$component->setComponentTitle('My Component 0.1');

In the next step you may need to set up the component’s registration form.

Alert.png This article is marked as unfinished. You may contribute by writing it or wait for it’s author to do it.