|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- $Revision$ --> |
| 3 | +<reference xml:id="class.streambucket" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 4 | + |
| 5 | + <title>The StreamBucket class</title> |
| 6 | + <titleabbrev>StreamBucket</titleabbrev> |
| 7 | + |
| 8 | + <partintro> |
| 9 | + |
| 10 | + <section xml:id="streambucket.intro"> |
| 11 | + &reftitle.intro; |
| 12 | + <simpara> |
| 13 | + A stream bucket is a chunk of a stream which can be extracted from bucket brigades. |
| 14 | + </simpara> |
| 15 | + </section> |
| 16 | + |
| 17 | + <section xml:id="streambucket.synopsis"> |
| 18 | + &reftitle.classsynopsis; |
| 19 | + |
| 20 | + <classsynopsis class="class"> |
| 21 | + <ooclass> |
| 22 | + <modifier>final</modifier> |
| 23 | + <classname>StreamBucket</classname> |
| 24 | + </ooclass> |
| 25 | + |
| 26 | + <classsynopsisinfo role="comment">&Properties;</classsynopsisinfo> |
| 27 | + <fieldsynopsis> |
| 28 | + <modifier>public</modifier> |
| 29 | + <modifier>readonly</modifier> |
| 30 | + <type>resource</type> |
| 31 | + <varname linkend="streambucket.props.bucket">bucket</varname> |
| 32 | + </fieldsynopsis> |
| 33 | + <fieldsynopsis> |
| 34 | + <modifier>public</modifier> |
| 35 | + <modifier>readonly</modifier> |
| 36 | + <type>string</type> |
| 37 | + <varname linkend="streambucket.props.data">data</varname> |
| 38 | + </fieldsynopsis> |
| 39 | + <fieldsynopsis> |
| 40 | + <modifier>public</modifier> |
| 41 | + <modifier>readonly</modifier> |
| 42 | + <type>int</type> |
| 43 | + <varname linkend="streambucket.props.datalen">datalen</varname> |
| 44 | + </fieldsynopsis> |
| 45 | + <fieldsynopsis> |
| 46 | + <modifier>public</modifier> |
| 47 | + <modifier>readonly</modifier> |
| 48 | + <type>int</type> |
| 49 | + <varname linkend="streambucket.props.datalength">dataLength</varname> |
| 50 | + </fieldsynopsis> |
| 51 | + </classsynopsis> |
| 52 | + </section> |
| 53 | + |
| 54 | + <section xml:id="streambucket.props"> |
| 55 | + &reftitle.properties; |
| 56 | + <variablelist> |
| 57 | + <varlistentry xml:id="streambucket.props.bucket"> |
| 58 | + <term>resource <varname>bucket</varname></term> |
| 59 | + <listitem> |
| 60 | + <simparapara>A <literal>userfilter.bucket</literal> resource.</simparapara> |
| 61 | + </listitem> |
| 62 | + </varlistentry> |
| 63 | + <varlistentry xml:id="streambucket.props.data"> |
| 64 | + <term>string <varname>data</varname></term> |
| 65 | + <listitem> |
| 66 | + <simparapara>The current string in the bucket.</simparapara> |
| 67 | + </listitem> |
| 68 | + </varlistentry> |
| 69 | + <varlistentry xml:id="streambucket.props.datalen"> |
| 70 | + <term>int <varname>datalen</varname></term> |
| 71 | + <listitem> |
| 72 | + <simparapara> |
| 73 | + The length of the string in the bucket. |
| 74 | + Deprecated as of PHP 8.4 in favor of <literal>StreamBucket::$dataLength</literal>. |
| 75 | + </simparapara> |
| 76 | + </listitem> |
| 77 | + </varlistentry> |
| 78 | + <varlistentry xml:id="streambucket.props.dataLength"> |
| 79 | + <term>int <varname>dataLength</varname></term> |
| 80 | + <listitem> |
| 81 | + <simparapara>The length of the string in the bucket.</simparapara> |
| 82 | + </listitem> |
| 83 | + </varlistentry> |
| 84 | + </variablelist> |
| 85 | + </section> |
| 86 | + |
| 87 | + <section role="seealso"> |
| 88 | + &reftitle.seealso; |
| 89 | + <simplelist> |
| 90 | + <member><function>stream_bucket_new</function></member> |
| 91 | + <member><function>stream_bucket_append</function></member> |
| 92 | + <member><function>stream_bucket_prepend</function></member> |
| 93 | + <member><function>stream_bucket_make_writeable</function></member> |
| 94 | + </simplelist> |
| 95 | + </section> |
| 96 | + |
| 97 | + </partintro> |
| 98 | + |
| 99 | + &reference.stream.entities.streambucket; |
| 100 | + |
| 101 | +</reference> |
| 102 | +<!-- Keep this comment at the end of the file |
| 103 | +Local variables: |
| 104 | +mode: sgml |
| 105 | +sgml-omittag:t |
| 106 | +sgml-shorttag:t |
| 107 | +sgml-minimize-attributes:nil |
| 108 | +sgml-always-quote-attributes:t |
| 109 | +sgml-indent-step:1 |
| 110 | +sgml-indent-data:t |
| 111 | +indent-tabs-mode:nil |
| 112 | +sgml-parent-document:nil |
| 113 | +sgml-default-dtd-file:"~/.phpdoc/manual.ced" |
| 114 | +sgml-exposed-tags:nil |
| 115 | +sgml-local-catalogs:nil |
| 116 | +sgml-local-ecat-files:nil |
| 117 | +End: |
| 118 | +vim600: syn=xml fen fdm=syntax fdl=2 si |
| 119 | +vim: et tw=78 syn=sgml |
| 120 | +vi: ts=1 sw=1 |
| 121 | +--> |
0 commit comments