From 80b0f805186d1a439b6bb489d0c27b04a678ccb1 Mon Sep 17 00:00:00 2001 From: Fernando Wobeto Date: Tue, 5 Nov 2024 13:18:05 -0300 Subject: [PATCH 1/3] =?UTF-8?q?inclus=C3=A3o=20dos=20arquivos=20originais?= =?UTF-8?q?=20com=20revis=C3=A3o=20atualizada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/ev/evperiodic/again.xml | 59 +++++++ reference/ev/evperiodic/at.xml | 57 ++++++ reference/ev/evperiodic/construct.xml | 204 ++++++++++++++++++++++ reference/ev/evperiodic/createstopped.xml | 159 +++++++++++++++++ reference/ev/evperiodic/set.xml | 84 +++++++++ 5 files changed, 563 insertions(+) create mode 100644 reference/ev/evperiodic/again.xml create mode 100644 reference/ev/evperiodic/at.xml create mode 100644 reference/ev/evperiodic/construct.xml create mode 100644 reference/ev/evperiodic/createstopped.xml create mode 100644 reference/ev/evperiodic/set.xml diff --git a/reference/ev/evperiodic/again.xml b/reference/ev/evperiodic/again.xml new file mode 100644 index 000000000..6bd291507 --- /dev/null +++ b/reference/ev/evperiodic/again.xml @@ -0,0 +1,59 @@ + + + + + EvPeriodic::again + Simply stops and restarts the periodic watcher again + + + &reftitle.description; + + public + void + EvPeriodic::again + + + + Simply stops and restarts the periodic watcher again. This is only useful + when attributes are changed. + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + &return.void; + + + + &reftitle.seealso; + + + EvTimer::again + + + + + diff --git a/reference/ev/evperiodic/at.xml b/reference/ev/evperiodic/at.xml new file mode 100644 index 000000000..67e6c7541 --- /dev/null +++ b/reference/ev/evperiodic/at.xml @@ -0,0 +1,57 @@ + + + + + EvPeriodic::at + Returns the absolute time that this + watcher is supposed to trigger next + + + &reftitle.description; + + public + float + EvPeriodic::at + + + + When the watcher is active, returns the absolute time that this watcher is + supposed to trigger next. This is not the same as the offset argument to + EvPeriodic::set + or + EvPeriodic::__construct + , but indeed works even in interval mode. + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Returns the absolute time this watcher is supposed to trigger next in + seconds. + + + + diff --git a/reference/ev/evperiodic/construct.xml b/reference/ev/evperiodic/construct.xml new file mode 100644 index 000000000..1c5631e67 --- /dev/null +++ b/reference/ev/evperiodic/construct.xml @@ -0,0 +1,204 @@ + + + + + EvPeriodic::__construct + Constructs EvPeriodic watcher object + + + &reftitle.description; + + public + EvPeriodic::__construct + + float + offset + + + string + interval + + + callable + reschedule_cb + + + callable + callback + + + mixed + data + &null; + + + int + priority + 0 + + + + Constructs EvPeriodic watcher object and starts it automatically. + EvPeriodic::createStopped + method creates stopped periodic watcher. + + + + &reftitle.parameters; + + + + offset + + + + See + Periodic watcher operation modes + + + + + + interval + + + + See + Periodic watcher operation modes + + + + + + reschedule_cb + + + + Reschedule callback. You can pass &null;. See + Periodic watcher operation + modes + + + + + + callback + + + + See + Watcher callbacks + . + + + + + + data + + + + Custom data associated with the watcher. + + + + + + priority + + + + Watcher priority + + + + + + + + &reftitle.examples; + + + Periodic timer. Use reschedule callback + + + +]]> + + + + Periodic timer. Tick every 10.5 seconds starting at now + + +]]> + + + + Hourly watcher + + +]]> + + + + + &reftitle.seealso; + + + Periodic watcher operation modes + + + EvTimer + + + EvPeriodic::createStopped + + + + + diff --git a/reference/ev/evperiodic/createstopped.xml b/reference/ev/evperiodic/createstopped.xml new file mode 100644 index 000000000..77f317b7d --- /dev/null +++ b/reference/ev/evperiodic/createstopped.xml @@ -0,0 +1,159 @@ + + + + + EvPeriodic::createStopped + Create a stopped EvPeriodic watcher + + + &reftitle.description; + + final + public + static + EvPeriodic + EvPeriodic::createStopped + + float + offset + + + float + interval + + + callable + reschedule_cb + + + callable + callback + + + mixed + data + &null; + + + int + priority + 0 + + + + Create EvPeriodic object. Unlike + EvPeriodic::__construct + this method doesn't start the watcher automatically. + + + + &reftitle.parameters; + + + + offset + + + + See + Periodic watcher operation modes + + + + + + interval + + + + See + Periodic watcher operation modes + + + + + + reschedule_cb + + + + Reschedule callback. You can pass &null;. See + Periodic watcher operation + modes + + + + + + callback + + + + See + Watcher callbacks + . + + + + + + data + + + + Custom data associated with the watcher. + + + + + + priority + + + + Watcher priority + + + + + + + &reftitle.returnvalues; + + Returns EvPeriodic watcher object on success. + + + + &reftitle.seealso; + + + EvPeriodic::__construct + + + EvTimer::createStopped + + + + + diff --git a/reference/ev/evperiodic/set.xml b/reference/ev/evperiodic/set.xml new file mode 100644 index 000000000..ca91fea4d --- /dev/null +++ b/reference/ev/evperiodic/set.xml @@ -0,0 +1,84 @@ + + + + + EvPeriodic::set + Configures the watcher + + + &reftitle.description; + + public + void + EvPeriodic::set + + float + offset + + + float + interval + + + + (Re-)Configures EvPeriodic watcher + + + + &reftitle.parameters; + + + + offset + + + + The same meaning as for + EvPeriodic::__construct + . See + Periodic watcher operation modes + + + + + + interval + + + + The same meaning as for + EvPeriodic::__construct + . See + Periodic watcher operation modes + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + From 8dd3bedd6c527a2cdc508951c6fb676df9cd2223 Mon Sep 17 00:00:00 2001 From: Fernando Wobeto Date: Tue, 12 Nov 2024 15:19:33 -0300 Subject: [PATCH 2/3] =?UTF-8?q?tradu=C3=A7=C3=A3o=20em=20reference/ev/evpe?= =?UTF-8?q?riodic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/ev/evperiodic/again.xml | 6 ++-- reference/ev/evperiodic/at.xml | 18 +++++----- reference/ev/evperiodic/construct.xml | 44 +++++++++++------------ reference/ev/evperiodic/createstopped.xml | 32 ++++++++--------- reference/ev/evperiodic/set.xml | 16 ++++----- 5 files changed, 58 insertions(+), 58 deletions(-) diff --git a/reference/ev/evperiodic/again.xml b/reference/ev/evperiodic/again.xml index 6bd291507..7f553030c 100644 --- a/reference/ev/evperiodic/again.xml +++ b/reference/ev/evperiodic/again.xml @@ -3,7 +3,7 @@ EvPeriodic::again - Simply stops and restarts the periodic watcher again + Simplesmente para e reinicia o observador periódico novamente &reftitle.description; @@ -14,8 +14,8 @@ - Simply stops and restarts the periodic watcher again. This is only useful - when attributes are changed. + Simplesmente para e reinicia o observador periódico novamente. Isso só é útil + quando os atributos são alterados. diff --git a/reference/ev/evperiodic/at.xml b/reference/ev/evperiodic/at.xml index 67e6c7541..09c67de4a 100644 --- a/reference/ev/evperiodic/at.xml +++ b/reference/ev/evperiodic/at.xml @@ -3,8 +3,8 @@ EvPeriodic::at - Returns the absolute time that this - watcher is supposed to trigger next + Retorna o tempo absoluto em que este observador + deve disparar em seguida &reftitle.description; @@ -15,12 +15,12 @@ - When the watcher is active, returns the absolute time that this watcher is - supposed to trigger next. This is not the same as the offset argument to + Quando o observador está ativo, retorna o tempo absoluto em que este observador + deve disparar em seguida. Isso não é o mesmo que o argumento offset para EvPeriodic::set - or - EvPeriodic::__construct - , but indeed works even in interval mode. + ou + EvPeriodic::__construct, + mas funciona mesmo no modo de intervalo. @@ -30,8 +30,8 @@ &reftitle.returnvalues; - Returns the absolute time this watcher is supposed to trigger next in - seconds. + Retorna o tempo absoluto que este observador deve disparar em seguida em + segundos. diff --git a/reference/ev/evperiodic/construct.xml b/reference/ev/evperiodic/construct.xml index 1c5631e67..e8bcec3dc 100644 --- a/reference/ev/evperiodic/construct.xml +++ b/reference/ev/evperiodic/construct.xml @@ -3,7 +3,7 @@ EvPeriodic::__construct - Constructs EvPeriodic watcher object + Constrói objeto observador EvPeriodic &reftitle.description; @@ -40,9 +40,9 @@ - Constructs EvPeriodic watcher object and starts it automatically. - EvPeriodic::createStopped - method creates stopped periodic watcher. + Constrói o objeto observador EvPeriodic e o inicia automaticamente. + O método EvPeriodic::createStopped + cria o observador periódico parado. @@ -54,8 +54,8 @@ - See - Periodic watcher operation modes + Veja + Modos de operação do observador periódico @@ -65,8 +65,8 @@ - See - Periodic watcher operation modes + Veja + Modos de operação do observador periódico @@ -76,9 +76,9 @@ - Reschedule callback. You can pass &null;. See - Periodic watcher operation - modes + Reprograma retorno de chamada. Você pode passar &null;. Veja + Modos de operação do observador + periódico @@ -88,8 +88,8 @@ - See - Watcher callbacks + Veja + Retornos de chamada do observador . @@ -100,7 +100,7 @@ - Custom data associated with the watcher. + Dados personalizados associados ao observador. @@ -110,7 +110,7 @@ - Watcher priority + Prioridade do observador @@ -121,11 +121,11 @@ &reftitle.examples; - Periodic timer. Use reschedule callback + Temporizador periódico. Usar retorno de chamada de reagendamento - Periodic timer. Tick every 10.5 seconds starting at now + Temporizador periódico. Marca a cada 10,5 segundos a partir de agora - Hourly watcher + Observador de hora em hora ]]> @@ -171,7 +171,7 @@ $hourly = EvPeriodic(0, 3600, NULL, function () { &reftitle.seealso; - Periodic watcher operation modes + Modos de operação do observador periódico EvTimer diff --git a/reference/ev/evperiodic/createstopped.xml b/reference/ev/evperiodic/createstopped.xml index 77f317b7d..ba34e198a 100644 --- a/reference/ev/evperiodic/createstopped.xml +++ b/reference/ev/evperiodic/createstopped.xml @@ -3,7 +3,7 @@ EvPeriodic::createStopped - Create a stopped EvPeriodic watcher + Criar um observador EvPeriodic parado &reftitle.description; @@ -43,9 +43,9 @@ - Create EvPeriodic object. Unlike - EvPeriodic::__construct - this method doesn't start the watcher automatically. + Cria um objeto EvPeriodic. Ao contrário de + EvPeriodic::__construct, + este método não inicia o observador automaticamente. @@ -57,8 +57,8 @@ - See - Periodic watcher operation modes + Veja + Modos de operação do observador periódico @@ -68,8 +68,8 @@ - See - Periodic watcher operation modes + Veja + Modos de operação do observador periódico @@ -79,9 +79,9 @@ - Reschedule callback. You can pass &null;. See - Periodic watcher operation - modes + Reprogramaa retorno de chamada. Você pode passar &null;. Veja + Modos de operação do observador + periódico @@ -91,8 +91,8 @@ - See - Watcher callbacks + Veja + Retornos de chamada do observador . @@ -103,7 +103,7 @@ - Custom data associated with the watcher. + Dados personalizados associados ao observador. @@ -113,7 +113,7 @@ - Watcher priority + Prioridade do observador @@ -122,7 +122,7 @@ &reftitle.returnvalues; - Returns EvPeriodic watcher object on success. + Retorna o objeto observador EvPeriodic em caso de sucesso. diff --git a/reference/ev/evperiodic/set.xml b/reference/ev/evperiodic/set.xml index ca91fea4d..80bd3c403 100644 --- a/reference/ev/evperiodic/set.xml +++ b/reference/ev/evperiodic/set.xml @@ -3,7 +3,7 @@ EvPeriodic::set - Configures the watcher + Configura o observador &reftitle.description; @@ -21,7 +21,7 @@ - (Re-)Configures EvPeriodic watcher + (Re-)Configura o observador EvPeriodic @@ -33,10 +33,10 @@ - The same meaning as for + O mesmo significado que para EvPeriodic::__construct - . See - Periodic watcher operation modes + . Veja + Modos de operação do observador periódico @@ -46,10 +46,10 @@ - The same meaning as for + O mesmo significado que para EvPeriodic::__construct - . See - Periodic watcher operation modes + . Veja + Modos de operação do observador periódico From c2fe2b7bed7f27f73448716e44fe66a48ebd80a7 Mon Sep 17 00:00:00 2001 From: Leonardo Lara Rodrigues Date: Sat, 16 Nov 2024 15:14:13 -0300 Subject: [PATCH 3/3] Update createstopped.xml --- reference/ev/evperiodic/createstopped.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/ev/evperiodic/createstopped.xml b/reference/ev/evperiodic/createstopped.xml index ba34e198a..ad97ea6fe 100644 --- a/reference/ev/evperiodic/createstopped.xml +++ b/reference/ev/evperiodic/createstopped.xml @@ -3,7 +3,7 @@ EvPeriodic::createStopped - Criar um observador EvPeriodic parado + Cria um observador EvPeriodic parado &reftitle.description;