PHP code example of nglasl / silverstripe-descriptive

1. Go to this page and download the library: Download nglasl/silverstripe-descriptive 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/ */

    

nglasl / silverstripe-descriptive example snippets


private static $menu_description = 'Description';

DescriptiveService::customise_css(array(
	'background' => '#D4D6D8',
	'color' => '#304E80'
));