mirror of
https://github.com/php/doc-fr.git
synced 2026-03-23 22:52:18 +01:00
144 lines
4.9 KiB
XML
144 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: b4fbf4434abeca44c58575ff3967e5640f7877d5 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.evwatcher" role="class">
|
|
<title>La classe EvWatcher</title>
|
|
<titleabbrev>EvWatcher</titleabbrev>
|
|
<partintro>
|
|
<!-- {{{ EvWatcher intro -->
|
|
<section xml:id="evwatcher.intro">
|
|
&reftitle.intro;
|
|
<simpara>
|
|
La classe <classname>EvWatcher</classname> est une classe de base
|
|
pour tous les watchers (<classname>EvCheck</classname>, <classname>EvChild</classname>
|
|
etc.). Vu que le constructeur de la classe <classname>EvWatcher</classname>
|
|
est <modifier>abstrait</modifier>, on ne peut pas
|
|
(et on ne doit pas) créer des objets EvWatcher directement.
|
|
</simpara>
|
|
</section>
|
|
<!-- }}} -->
|
|
<section xml:id="evwatcher.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis>
|
|
<ooclass>
|
|
<classname>EvWatcher</classname>
|
|
</ooclass>
|
|
<!-- {{{ Class synopsis -->
|
|
<classsynopsisinfo>
|
|
<ooclass>
|
|
<modifier>abstract</modifier>
|
|
<classname>EvWatcher</classname>
|
|
</ooclass>
|
|
</classsynopsisinfo>
|
|
<!-- }}} -->
|
|
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evwatcher.props.is-active">is_active</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evwatcher.props.data">data</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evwatcher.props.is-pending">is_pending</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evwatcher.props.priority">priority</varname>
|
|
</fieldsynopsis>
|
|
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"/>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])"/>
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
</section>
|
|
<!-- {{{ EvWatcher properties -->
|
|
<section xml:id="evwatcher.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="evwatcher.props.is-active">
|
|
<term>
|
|
<varname>is_active</varname>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>En lecture seule</emphasis>. &true; si le watcher est
|
|
actif, &false; sinon.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="evwatcher.props.data">
|
|
<term>
|
|
<varname>data</varname>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Données utilisateur personnalisées associées avec le watcher
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="evwatcher.props.is-pending">
|
|
<term>
|
|
<varname>is_pending</varname>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>En lecture seule</emphasis>. Si le watcher est en attente,
|
|
c.-à-d. si le watcher a des événements en attente, mais que sa fonction
|
|
de rappel n'a pas encore été appelée, &false; sinon. Tant que le
|
|
watcher est en attente (mais non actif), un autre <emphasis>ne peut pas</emphasis>
|
|
modifier ses priorités.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="evwatcher.props.priority">
|
|
<term>
|
|
<varname>priority</varname>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
&integer;
|
|
Intervalle entre <constant>Ev::MINPRI</constant> et <constant>Ev::MAXPRI</constant>.
|
|
Les watchers en attente avec une priorité haute seront appelés
|
|
avant les watchers avec une priorité basse, mais la priorité ne peut pas
|
|
faire qu'un watcher ne sera jamais exécuté (sauf pour les watchers
|
|
<classname>EvIdle</classname>).
|
|
Les watchers <classname>EvIdle</classname> fournissent des fonctionnalités
|
|
permettant de supprimer l'invocation lorsque des événements ayant une priorité
|
|
plus élevée sont en attente.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
</partintro>
|
|
|
|
&reference.ev.entities.evwatcher;
|
|
|
|
</reference>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|