silverstripe-framework/forms/ProgressBar.php

20 lines
416 B
PHP
Raw Normal View History

<?php
/**
* Displays a progress bar in a form.
* These are currently only linked to Batch Processes.
* @see BatchProcess
* @package forms
* @subpackage fields-dataless
*/
class ProgressBar extends FormField {
function FieldHolder() {
Requirements::javascript('sapphire/javascript/ProgressBar.js');
Requirements::css('sapphire/css/ProgressBar.css');
return $this->renderWith('ProgressBar');
}
}
?>