Improved ui_progress documentation

This commit is contained in:
fbsanchez 2019-06-14 10:40:30 +02:00
parent 7226a45df5
commit ebfdce1073
1 changed files with 5 additions and 5 deletions

View File

@ -2719,15 +2719,15 @@ function ui_print_module_status(
* @param string $color Color. * @param string $color Color.
* @param boolean $return Return or paint (if false). * @param boolean $return Return or paint (if false).
* @param boolean $text Text to be displayed,by default progress %. * @param boolean $text Text to be displayed,by default progress %.
* @param array $ajax [ 'page' => 'page', 'data' => 'data' ]. Example: * @param array $ajax Ajax: [ 'page' => 'page', 'data' => 'data' ] Sample:
* [ * [
* 'page' => 'operation/agentes/ver_agente', * 'page' => 'operation/agentes/ver_agente', Target page.
* 'interval' => 100 / $agent["intervalo"], * 'interval' => 100 / $agent["intervalo"], Ask every interval seconds.
* 'data' => [ * 'data' => [ Data to be sent to target page.
* 'id_agente' => $id_agente, * 'id_agente' => $id_agente,
* 'refresh_contact' => 1, * 'refresh_contact' => 1,
* ], * ],
* ] * ].
* *
* @return string HTML code. * @return string HTML code.
*/ */