PHP code example of micschk / silverstripe-softscheduler
1. Go to this page and download the library: Download micschk/silverstripe-softscheduler 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/ */
micschk / silverstripe-softscheduler example snippets
// workaround for Embargo/Expiry (augmentSQL for embargo/expiry is not working yet);
if( $class::has_extension("EmbargoExpirySchedulerExtension") ){
$items = $items->where( EmbargoExpirySchedulerExtension::extraWhereQuery($class) );
}