Moodle APIs 4.0
Moodle 4.0.11 (Build: 20231009)
Classes | Namespaces
display_if_slow.php File Reference

Progress handler that uses a standard Moodle progress bar to display progress. More...

Classes

class  core\progress\display_if_slow
 

Namespaces

namespace  core\progress
  
 

Detailed Description

Progress handler that uses a standard Moodle progress bar to display progress.

Same as core::progress::display, but the bar does not appear until a certain time has elapsed, and disappears automatically after it finishes.

The bar can be re-used, i.e. if you end all sections it will disappear, but if you start all sections, a new bar will be output.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later