PHP code example of monsieurbiz / mbiz_optionsystemcode

1. Go to this page and download the library: Download monsieurbiz/mbiz_optionsystemcode library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

monsieurbiz / mbiz_optionsystemcode example snippets


switch ($option->getSystemCode()) {
	case 'my-code':
    	// TODO
        break;
    case 'my-other-code':
    	// TODO
        break;
}
html
 if ($_option->getSystemCode() === 'my-code'):