silverstripe-framework/forms/ProgressBar.php

16 lines
322 B
PHP
Raw Normal View History

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