1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-24 07:42:22 +01:00
Files
archived-doc-ru/language/context/parameters.xml
2024-06-14 16:50:43 +01:00

64 lines
2.0 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: bad50150f7e06228f48c4461fab52afe08a4d5e4 Maintainer: shein Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="context.params" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="verify_info:false" role="stream_context_option">
<refnamediv>
<refname>Параметры контекста</refname>
<refpurpose>Список параметров контекста</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>
Эти <literal>параметры</literal> устанавливают для контекста через параметр <literal>context</literal> функции
<function>stream_context_set_params</function>.
</para>
</refsect1>
<refsect1 role="options"><!-- {{{ -->
&reftitle.parameters;
<para>
<variablelist>
<varlistentry xml:id="context.params.notification">
<term>
<parameter>notification</parameter>
<type>callable</type>
</term>
<listitem>
<para>
Функция с типом <type>callable</type>, которая будет вызываться при наступлении события в потоке.
</para>
<para>
Дополнительную информацию даёт описание функции
<link linkend="function.stream-notification-callback">
stream_notification_callback</link>.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</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
-->