PHP code example of chrometoaster / silverstripe-advanced-taxonomies
1. Go to this page and download the library: Download chrometoaster/silverstripe-advanced-taxonomies 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/ */
chrometoaster / silverstripe-advanced-taxonomies example snippets
use Chrometoaster\AdvancedTaxonomies\Validators\TaxonomyRulesValidator;
$validator = TaxonomyRulesValidator::create();
$validator->setHTMLOutput(false);
// get the validation error or empty string
$