Index

(progress_bar)

o2progress_view_bar

string o2progress_view_bar(string $bar_name, string $view, string $id_field, string $progress_field, string $complete_action, string $start_action, boolean $active)

ATTENTION: Progress-bar scripting definition and usage are DEPRECATED. Use a Progress-bar control from development interface (JXOB) instead.

Defines a bar-ctrl and returns its HTML code, to be displayed in a HTML-area control.
This method is primary intended to be used in a grid.
Control name must be unique: in a grid a unique column value can be used as name.


Parameters:
  1. $bar_name
  2. Control unique name
  3. $view
  4. View name
  5. $id_field
  6. Name of view-field containing name
  7. $progress_field
  8. Name of view-field containing value
  9. $complete_action
  10. Action to be executed on progress complete
  11. $start_action
  12. Action to be executed on start (from 0 to >0)
  13. $active
  14. If bar is active and it makes update requests