Version: current

     1 <?php
     2 /**
     3  * Displays a progress bar in a form.
     4  * These are currently only linked to Batch Processes.
     5  *
     6  * @see BatchProcess
     7  *
     8  * @package newsletter
     9  */
    10 class ProgressBar extends FormField {
    11
    12     function FieldHolder() {
    13         Requirements::javascript('newsletter/javascript/ProgressBar.js');
    14         Requirements::css('newsletter/css/ProgressBar.css');
    15
    16         return $this->renderWith('ProgressBar');
    17     }
    18
    19 }
    20 ?>
    21

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -