php-doc-en/language/predefined/generator.xml

93 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xml:id="class.generator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The Generator class</title>
<titleabbrev>Generator</titleabbrev>
<partintro>
<!-- {{{ Generator intro -->
<section xml:id="generator.intro">
&reftitle.intro;
<para>
<classname>Generator</classname> objects are returned from <link linkend="language.generators">generators</link>.
</para>
<caution>
<para>
<classname>Generator</classname> objects cannot be instantiated via
<link linkend="language.oop5.basic.new">new</link>.
</para>
</caution>
</section>
<!-- }}} -->
<section xml:id="generator.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass>
<classname>Generator</classname>
</ooclass>
<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>Generator</classname>
</ooclass>
<oointerface>
<interfacename>Iterator</interfacename>
</oointerface>
</classsynopsisinfo>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.generator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<section xml:id="generator.seealso">
&reftitle.seealso;
<para>See also <link linkend="language.oop5.iterations">object iteration</link>.</para>
</section>
</partintro>
&language.predefined.generator.current;
&language.predefined.generator.getreturn;
&language.predefined.generator.key;
&language.predefined.generator.next;
&language.predefined.generator.rewind;
&language.predefined.generator.send;
&language.predefined.generator.throw;
&language.predefined.generator.valid;
&language.predefined.generator.wakeup;
</phpdoc:classref>
<!-- 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
-->