pollita Sat Jan 4 15:02:21 2003 EDT Added files: /phpdoc/en/reference/stream/functions stream-context-create.xml stream-context-set-option.xml stream-context-set-params.xml Log: Last three files in initial documentation of streams reference
Index: phpdoc/en/reference/stream/functions/stream-context-create.xml +++ phpdoc/en/reference/stream/functions/stream-context-create.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.stream-context-create"> <refnamediv> <refname>stream_context_create</refname> <refpurpose>Create a streams context</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>stream_context_create</methodname> <methodparam><type>array</type><parameter>params</parameter></methodparam> </methodsynopsis> <simpara> Creates and returns a stream context with any parameters supplied in <parameter>params</parameter> preset. </simpara> <simpara> See Also: <function>stream_context_set_params</function> </simpara> </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:"../../../../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 --> Index: phpdoc/en/reference/stream/functions/stream-context-set-option.xml +++ phpdoc/en/reference/stream/functions/stream-context-set-option.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.stream-context-set-option"> <refnamediv> <refname>stream_context_set_option</refname> <refpurpose>Sets an option for a stream/wrapper/context</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>stream_context_set_option</methodname> <methodparam><type>resource</type><parameter>context|stream</parameter></methodparam> <methodparam><type>string</type><parameter>wrapper</parameter></methodparam> <methodparam><type>string</type><parameter>option</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <simpara> Sets an option on the specified context. <parameter>value</parameter> is set to <parameter>option</parameter> for <parameter>wrapper</parameter> </simpara> </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:"../../../../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 --> Index: phpdoc/en/reference/stream/functions/stream-context-set-params.xml +++ phpdoc/en/reference/stream/functions/stream-context-set-params.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.stream-context-set-params"> <refnamediv> <refname>stream_context_set_params</refname> <refpurpose>Set parameters for a stream/wrapper/context</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>stream_context_set_params</methodname> <methodparam><type>resource</type><parameter>stream|context</parameter></methodparam> <methodparam><type>array</type><parameter>params</parameter></methodparam> </methodsynopsis> <simpara> <parameter>params</parameter> should be an associative array of the structure: <literal>$params['paramname'] = "paramvalue";</literal>. </simpara> <table> <title>Parameters</title> <tgroup cols="2"> <thead> <row> <entry>Parameters</entry> <entry>Purpose</entry> </row> </thead> <tbody> <row> <entry><literal>notification</literal></entry> <entry> Name of user-defined callback function to be called whenever a stream triggers a notification. </entry> </row> </tbody> </tgroup> </table> </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:"../../../../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 --> -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php