2012-12-26 19:46:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- $Revision$ -->
|
|
|
|
|
|
|
|
<refentry xml:id="evprepare.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>EvPrepare::__construct</refname>
|
2012-12-27 06:41:57 +00:00
|
|
|
<refpurpose>Constructs EvPrepare watcher object</refpurpose>
|
2012-12-26 19:46:06 +00:00
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
|
|
|
<methodsynopsis>
|
|
|
|
<modifier>public</modifier> <methodname>EvPrepare::__construct</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>callback</parameter></methodparam>
|
|
|
|
<methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam>
|
|
|
|
<methodparam choice="opt"><type>string</type><parameter>priority</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2012-12-27 06:41:57 +00:00
|
|
|
Constructs EvPrepare watcher object. And starts the watcher automatically.
|
|
|
|
If need a stopped watcher consider using
|
|
|
|
<methodname>EvPrepare::createStopped</methodname>
|
2012-12-26 19:46:06 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>callback</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-12-27 06:41:57 +00:00
|
|
|
See <link linkend="ev.watcher-callbacks">Watcher callbacks</link>.
|
2012-12-26 19:46:06 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>data</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-12-27 06:41:57 +00:00
|
|
|
Custom data associated with the watcher.
|
2012-12-26 19:46:06 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>priority</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-12-27 06:41:57 +00:00
|
|
|
<link linkend="ev.constants.watcher-pri">Watcher priority</link>
|
2012-12-26 19:46:06 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2012-12-27 06:41:57 +00:00
|
|
|
Returns EvPrepare object on success.
|
2012-12-26 19:46:06 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<simplelist>
|
2012-12-27 06:41:57 +00:00
|
|
|
<member><classname>EvCheck</classname></member>
|
2012-12-26 19:46:06 +00:00
|
|
|
</simplelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
-->
|