Index

(jobs)

o2job_get_bar

string o2job_get_bar(integer $run_job_id, string $complete_action, string $start_action, string $error_action)

Returns HTML code to show a progress bar for the requested running job instance


Parameters:
  1. $run_job_id
  2. Running instance ID
  3. $complete_action
  4. Program action to be executed on bar completion
  5. $start_action
  6. Program action to be executed on bar start
  7. $error_action
  8. Program action to be executed on job error
Related functions:

o2job_is_running

o2job_run

o2job_set_progress

o2progress_bar